Corrected ldap sample config (traditional bean version was wrong)
This commit is contained in:
parent
775a6c3939
commit
6ff0b969d5
|
@ -18,7 +18,7 @@
|
|||
<!-- Simple namespace-based configuration -->
|
||||
|
||||
<s:ldap-server ldif="classpath:users.ldif" port="33389"/>
|
||||
|
||||
|
||||
<s:ldap-authentication-provider
|
||||
group-search-filter="member={0}"
|
||||
group-search-base="ou=groups"
|
||||
|
@ -51,8 +51,7 @@
|
|||
<bean class="org.springframework.security.ldap.populator.DefaultLdapAuthoritiesPopulator">
|
||||
<constructor-arg ref="contextSource" />
|
||||
<constructor-arg value="ou=groups" />
|
||||
<property name="groupSearchFilter" value="member={0}"/>
|
||||
<property name="groupRoleAttribute" value="ou" />
|
||||
<property name="groupSearchFilter" value="(member={0})"/>
|
||||
<property name="rolePrefix" value="ROLE_"/>
|
||||
<property name="searchSubtree" value="true"/>
|
||||
<property name="convertToUpperCase" value="true"/>
|
||||
|
|
Loading…
Reference in New Issue