SEC-851: Fix port number in LDAP sample.

This commit is contained in:
Luke Taylor 2008-05-23 21:24:48 +00:00
parent 25ba269db0
commit 859e99edf4
1 changed files with 4 additions and 6 deletions

View File

@ -17,7 +17,7 @@
<!-- Simple namespace-based configuration --> <!-- Simple namespace-based configuration -->
<s:ldap-server ldif="classpath:users.ldif" /> <s:ldap-server ldif="classpath:users.ldif" port="33389"/>
<s:ldap-authentication-provider <s:ldap-authentication-provider
group-search-filter="member={0}" group-search-filter="member={0}"
@ -30,7 +30,7 @@
<!-- This bean points at the embedded directory server created by the ldap-server element above --> <!-- This bean points at the embedded directory server created by the ldap-server element above -->
<bean id="contextSource" class="org.springframework.security.ldap.DefaultSpringSecurityContextSource"> <bean id="contextSource" class="org.springframework.security.ldap.DefaultSpringSecurityContextSource">
<constructor-arg value="ldap://localhost:389/dc=springframework,dc=org"/> <constructor-arg value="ldap://localhost:33389/dc=springframework,dc=org"/>
</bean> </bean>
<bean id="secondLdapProvider" class="org.springframework.security.providers.ldap.LdapAuthenticationProvider"> <bean id="secondLdapProvider" class="org.springframework.security.providers.ldap.LdapAuthenticationProvider">
@ -60,6 +60,4 @@
</constructor-arg> </constructor-arg>
</bean> </bean>
</beans> </beans>