I'm using tomcat 7 and Spring 3.1.0.RELEASE.
Before making this change the authentication process works well, after doing it stopped:
web.xml Before:
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
After:
<user-data-constraint>
<transport-guarantee>NONE</transport-guarantee>
</user-data-constraint>
The problem is, the application now can be accessed without HTTPS but we can't log in because spring security is redirecting to the login page as expected when the user are not logged. If I comment the security:intercept-url in applicationContext-security.xml it works well, I'm not understanding how the HTTPS can affect the Spring Security Authentication. The user and roles are the same using HTTPS and HTTP.