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 c46f65e23f
commit 1bfbd8ea60

View File

@ -45,7 +45,7 @@
<bean id="ldapUserSearch"
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="2" ref="contextSource"/>
<property name="searchSubtree" value="true"/>