Take the 2-minute tour ×

I am new to Spring (formerly a Struts guru) and I've decide to change all my code to Spring for the reason being that Spring is more Service-Oriented (and the possibility that I might also include a RESTful application form the same project is a possible option).

As for now, in Struts, there was an SSL plugin to create a secure HTTPS form. How do I do that in Spring? I've read Spring Security but to no avail.

Thanks in advance.

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Take a look at the SpringSecurity reference - Section 2.3.2. Adding HTTP/HTTPS Channel Security. This gives you a simple way to declare that a URL or set of URLs must be accessed via HTTPS. (IIRC, this works by configuring a ChannelProcessingFilter which will automatically redirect requests to the appropriate protocol if necessary.)

share|improve this answer
It's a start, I'll try and see how to do this for secure online transaction such as credit card purchasing. –  Buhake Sindi Jul 12 '10 at 16:37
add comment

Your Answer


