Can you give a full trace of the exception stack? I don't think you can have two
<security:http auto-config="true"/>
in the same spring-security configuration with all url-hook settings. If you need to have two separate login pages, they have an attribute in the login request or use "userAgent" and go to the controller.
source share