Refactored embedded LDAP server tests to make use of new namespace configuration. Use Junit 4 annotations in preference to AbstractDependencyInjectionSpringContextTests so that it is possible to clear up the context after each class is run rather than at JVM shutdown (causes problems with running embedded apache DS).
This commit is contained in:
@@ -37,8 +37,8 @@
|
||||
</bean>
|
||||
|
||||
<bean id="initialDirContextFactory" class="org.springframework.security.ldap.DefaultInitialDirContextFactory">
|
||||
<constructor-arg value="ldap://monkeymachine.co.uk:389/dc=acegisecurity,dc=org"/>
|
||||
<property name="managerDn" value="cn=manager,dc=acegisecurity,dc=org" />
|
||||
<constructor-arg value="ldap://monkeymachine.co.uk:389/dc=springframework,dc=org"/>
|
||||
<property name="managerDn" value="cn=manager,dc=springframework,dc=org" />
|
||||
<property name="managerPassword" value="acegisecurity"/>
|
||||
</bean>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user