spring-security icon indicating copy to clipboard operation
spring-security copied to clipboard

loginProcessingUrl() in Java config does not work as expected

Open beleta opened this issue 8 years ago • 1 comments

Summary

loginProcessingUrl() in Java config does not work the same way that the loginProcessingUrl attribute of the form-login element of the XML configuration.

Actual Behavior

Redirecting to the URL specified in AbstractAuthenticationFilterConfigurer#loginProcessingUrl ends in a 404 error.

Expected Behavior

Redirecting to the URL specified must start the login process.

Configuration

Please see this question on Stackoverflow.

Version

4.2.3 and 4.2.4

Sample

This is an example that uses my config but seems to work correctly, in two or three days I will try to post an example showing the problem.

https://github.com/jzheaux/spring-security-examples/tree/master/stackoverflow-48998865

beleta avatar Mar 05 '18 17:03 beleta

still open? i met the same problem

ooptsd avatar Dec 29 '21 09:12 ooptsd