|
|
|
|
@ -76,15 +76,15 @@ import java.util.*;
@@ -76,15 +76,15 @@ import java.util.*;
|
|
|
|
|
* </bean> |
|
|
|
|
* |
|
|
|
|
* <bean id="ldapAuthProvider" |
|
|
|
|
* class="org.springframework.security.authentication.ldap.LdapAuthenticationProvider"> |
|
|
|
|
* class="org.springframework.security.ldap.authentication.LdapAuthenticationProvider"> |
|
|
|
|
* <constructor-arg> |
|
|
|
|
* <bean class="org.springframework.security.authentication.ldap.authenticator.BindAuthenticator"> |
|
|
|
|
* <bean class="org.springframework.security.ldap.authentication.BindAuthenticator"> |
|
|
|
|
* <constructor-arg ref="contextSource"/> |
|
|
|
|
* <property name="userDnPatterns"><list><value>uid={0},ou=people</value></list></property> |
|
|
|
|
* </bean> |
|
|
|
|
* </constructor-arg> |
|
|
|
|
* <constructor-arg> |
|
|
|
|
* <bean class="org.springframework.security.ldap.populator.DefaultLdapAuthoritiesPopulator"> |
|
|
|
|
* <bean class="org.springframework.security.ldap.userdetails.DefaultLdapAuthoritiesPopulator"> |
|
|
|
|
* <constructor-arg ref="contextSource"/> |
|
|
|
|
* <constructor-arg value="ou=groups"/> |
|
|
|
|
* <property name="groupRoleAttribute" value="ou"/> |
|
|
|
|
|