removed "ou=" from LDAP user search since it is now integrated with security.ldap.subDn

This commit is contained in:
Michael Magill 2014-04-25 20:41:50 +00:00
parent cec140b1fd
commit b886a5888a

View File

@ -45,7 +45,7 @@
<bean id="ldapUserSearch" <bean id="ldapUserSearch"
class="org.springframework.security.ldap.search.FilterBasedLdapUserSearch"> class="org.springframework.security.ldap.search.FilterBasedLdapUserSearch">
<constructor-arg index="0" value="ou=${security.ldap.subDn}"/> <constructor-arg index="0" value="${security.ldap.subDn}"/>
<constructor-arg index="1" value="(${security.ldap.auth.attribute}={0})"/> <constructor-arg index="1" value="(${security.ldap.auth.attribute}={0})"/>
<constructor-arg index="2" ref="contextSource"/> <constructor-arg index="2" ref="contextSource"/>
<property name="searchSubtree" value="true"/> <property name="searchSubtree" value="true"/>