LDAP-18: Deprecated the userName property in AbstractContextSource and changed it to the more correct userDn.

This commit is contained in:
Ulrik Sandberg
2007-01-07 17:18:11 +00:00
parent bac2c2b51f
commit 6ccfda01b4
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
urls=ldap://127.0.0.1
userName=cn=Manager,dc=jayway,dc=se
userDn=cn=Manager,dc=jayway,dc=se
password=secret
base=dc=jayway,dc=se

View File

@@ -10,7 +10,7 @@
<bean id="contextSource" class="org.springframework.ldap.support.LdapContextSource" >
<property name="urls" value="${urls}" />
<property name="userName" value="${userName}" />
<property name="userDn" value="${userDn}" />
<property name="password" value="${password}" />
<property name="base" value="${base}" />
<property name="dirObjectFactory" value="org.springframework.ldap.support.DefaultDirObjectFactory" />
@@ -29,7 +29,7 @@
class="org.springframework.ldap.samples.article.dao.TraditionalPersonDaoImpl">
<property name="url" value="ldap://localhost:389" />
<property name="base" value="dc=jayway,dc=se" />
<property name="userName" value="${userName}" />
<property name="userDn" value="${userDn}" />
<property name="password" value="${password}" />
</bean>
</beans>