I\'m using Spring-MVC (4.2.5) and Spring-Security (4.1.3) to develop a web application. I begin to have problems when I tried to incorporate the latter in my mvc project.
<After double-checking all the configuration file, after reading the documentation, I came to the conclusion that there was nothing wrong. I simply solved downgrading from version 4.1.3 to 4.0.3
please change the url pattern in web xml. That should work.
<filter-mapping>
<filter-name>springSecurityFilterChain</filter-name>
<url-pattern>/user/*</url-pattern>
</filter-mapping>