in the most basic sense, what library’s, xml entries, tags do I need to setup a secure http page (Using Spring)?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You’ll need to configure your server to support HTTPS, which means getting or generating a certificate and installing it into the certificate store. Here’s a quick start on how to configure SSL with Tomcat http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
Once you have the server listening on a port for https traffic, you can configure your application with just a couple of modifications to your existing spring security xml configuration as noted here http://static.springsource.org/spring-security/site/docs/3.1.x/reference/springsecurity-single.html#ns-requires-channel