Set LDAP Samples to Use Zero Port

Issue gh-8762
This commit is contained in:
Josh Cummings
2020-09-26 15:17:52 -06:00
parent bcfbd2dee5
commit c0378b9d35
2 changed files with 4 additions and 3 deletions

View File

@@ -29,7 +29,8 @@ public class SecurityConfig {
auth
.ldapAuthentication()
.userDnPatterns("uid={0},ou=people")
.groupSearchBase("ou=groups");
.groupSearchBase("ou=groups")
.contextSource().port(0);
}
// @formatter:on
}
}