I\'m trying to learn, how spring security works, so I\'ve downloaded some sample project and then I tried to implement that solution to my project. But when I try to login, I ge
The path /j_spring_security_check
has changed to /login
in spring 4 and it is handled in UsernamePasswordAuthenticationFilter
You can find it's source here: https://github.com/spring-projects/spring-security/blob/master/web/src/main/java/org/springframework/security/web/authentication/UsernamePasswordAuthenticationFilter.java