Skip to content

SEC-1915 Add cutomisation of search filter in ActiveDirectoryLdapAuthenticationProvider #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

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