AD-bind-principal: New abstraction for ActiveDirectory LDAP auth#246
AD-bind-principal: New abstraction for ActiveDirectory LDAP auth#246Turbots wants to merge 1 commit intospring-projects:masterfrom
Conversation
Most use cases don't require another implementation than the standard way of binding and searching for a user in Active Directory. However, sometimes there is a different implementation needed for creating the principal string for binding a user and the principal string for searching a user. The new abstract class allows for users to create a different implementation according to their needs, based on the given authentication token (or a subclass of the authentication token).
|
I have signed and agree to the terms of the SpringSource Individual Contributor License Agreement. |
|
@Turbots Please sign the Contributor License Agreement! |
|
I have signed the (new?) contributor license agreement |
|
@Turbots Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
|
@Turbots Thank you for signing the Contributor License Agreement! |
|
Hi @Turbots. Thank you for submitting this PR ! This is definitely a feature users are asking for so we appreciate you submitting your proposal. The I'm not sure if you had a chance to look at the other implementation of This specific implementation uses the strategy An option would be to have a default implementation of Furthermore, the What are your thoughts on this implementation strategy? |
|
Thanks again for submitting this PR @Turbots. We are currently re-thinking our approach to an Active Directory The work has already started in #4064 if you would like to track the progress and provide any input/feedback. I'm going to close this PR as we will address your input/feedback in #4064. |
|
Thanks for the feedback! I'm glad to see people are continuing (or at least improving) upon my work 👍 I'll keep an eye on the new issue! |
Most use cases don't require another implementation than the standard
way of binding and searching for a user in Active Directory.
However, sometimes there is a different implementation needed
for creating the principal string for binding a user and the principal
string for searching a user.
The new abstract class basically contains the same methods
as the old final class and contains two abstract methods
for creating a bindPrincipal and searchPrincipal string, respectively.
The new abstract class allows for users to create a different
implementation according to their needs, based on the given
authentication token (or a subclass of the authentication token).