Skip to content

Commit 002a770

Browse files
committed
NamespaceLdapAuthenticationProviderTests use Dynamic Port
Closes gh-11710
1 parent 4473c3f commit 002a770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

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

0 commit comments

Comments
 (0)