Skip to content

Commit

Permalink
feat(authN/ldap): Adds userSearchBase and userSearchFilter properties…
Browse files Browse the repository at this point in the history
… for LDAP (#369)
  • Loading branch information
mtweten authored and Travis Tomsu committed Apr 3, 2017
1 parent 9305261 commit 03a8b2e
Showing 1 changed file with 10 additions and 0 deletions.
Expand Up @@ -70,6 +70,14 @@ class LdapSsoConfig extends WebSecurityConfigurerAdapter {
if (ldapConfigProps.userDnPattern) {
ldapConfigurer.userDnPatterns(ldapConfigProps.userDnPattern)
}

if (ldapConfigProps.userSearchBase) {
ldapConfigurer.userSearchBase(ldapConfigProps.userSearchBase)
}

if (ldapConfigProps.userSearchFilter) {
ldapConfigurer.userSearchFilter(ldapConfigProps.userSearchFilter)
}
}

@Override
Expand Down Expand Up @@ -115,5 +123,7 @@ class LdapSsoConfig extends WebSecurityConfigurerAdapter {
String groupSearchBase

String userDnPattern
String userSearchBase
String userSearchFilter
}
}

0 comments on commit 03a8b2e

Please sign in to comment.