Adding multiple ldap sources to spring-security in multi-domain environment
问题 I am trying to add a secondary ldap contextSource to spring security in a split domain environment and I seem to be coming up short. I realize similar questions have been asked before but this is for two separate domains logging into the same application. My first step was to add the secondary context source to my security-config xml file like so: <beans:bean id="secondaryContextSource" class="org.springframework.security.ldap.DefaultSpringSecurityContextSource"> <beans:constructor-arg value=