Skip to content

Conversation

ajermakovics
Copy link

The default AD search filter is currently hardcoded but in some setups
needs to be adjusted.
Adding two properties to ActiveDirectoryLdapAuthenticationProvider:

  • searchFilter - the LDAP search filter to use when looking up
    authorities
  • searchByBindPrincipal - whether to use username or bind principal
    (user@domain)

Unit tests included.

The default AD search filter is currently hardcoded but in some setups
needs to be adjusted.
Adding two properties to ActiveDirectoryLdapAuthenticationProvider:
- searchFilter - the LDAP search filter to use when looking up
authorities
- searchByBindPrincipal - whether to use username or bind principal
(user@domain)

Unit tests included.
@ajermakovics
Copy link
Author

I have signed the terms of SpringSource Individual Contributor License Agreement.

@brentlemons
Copy link

What's up with this? Seems like a straightforward/reasonable change. (and one I need!)

@ajermakovics
Copy link
Author

@brentlemons Not sure, perhaps it needs upvote in https://jira.springsource.org/browse/SEC-1915

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants