I\'m using Spring Security 3.2.1.RELEASE with Spring MVC 4.0.4.RELEASE
I\'m trying to setup Spring Security for a web application that will have two distinct login
Maybe this post could help you : Multiple login forms
It's a different version of spring security but the same problem : only the first configuration is taken.
It seems it has been solved by changing login-processing-url for one of the two login pages but people suggest to use the same url processing but a different layout using ViewResolver. It is a solution if you use the same mechanism to authenticate users (the authentication mechanism is the thing responsible for processing the credentials that the browser is sending).
This post also seems to say that if you change your loginProcessingUrl you will succeed : Configuring Spring Security 3.x to have multiple entry points