Skip to content

Commit ce778b0

Browse files
committed
NamespaceLdapAuthenticationProviderTests use Dynamic Port
Closes gh-11710
1 parent c7b39ee commit ce778b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/src/integration-test/java/org/springframework/security/config/annotation/authentication/ldap/NamespaceLdapAuthenticationProviderTestsConfigs.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ protected void configure(AuthenticationManagerBuilder auth) throws Exception {
6868
.ldif("classpath:users.xldif") // ldap-server@ldif
6969
.managerDn("uid=admin,ou=system") // ldap-server@manager-dn
7070
.managerPassword("secret") // ldap-server@manager-password
71-
.port(33399) // ldap-server@port
71+
.port(0) // ldap-server@port
7272
.root("dc=springframework,dc=org"); // ldap-server@root
7373
// .url("ldap://localhost:33389/dc-springframework,dc=org") this overrides root and port and is used for external
7474
// @formatter:on

0 commit comments

Comments
 (0)