Skip to content
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

LdapAuthoritiesPopulator should be postProcessed #9276

Closed
wants to merge 1 commit into from

Conversation

fhanik
Copy link
Contributor

@fhanik fhanik commented Dec 10, 2020

Currently we can set an LdapAuthoritiesPopulator and override the default one. However, the current implementation doesn't allow us to create a delegate to the default populator, because it isn't post processed

This simple fix will allow an easier customization of the LdapAuthoritiesPopulator

to enable customizations, just like other objects
in the LdapAuthenticationProviderConfigurer class
@fhanik
Copy link
Contributor Author

fhanik commented Dec 10, 2020

Note: I ran into this issue this PR and used a temporary work around for my local build

#9275

Copy link
Contributor

@jzheaux jzheaux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, @fhanik! Will you please update the copyright on these classes so that the end date is 2020?

There is a checkstyle error in the build. I realize that locally you might not have gotten that given the 401 issue you were experiencing earlier in the build, but I think if you try again, you'll see that error now.

@jzheaux
Copy link
Contributor

jzheaux commented Feb 5, 2021

@fhanik, are you able to make the requested changes?

@jzheaux jzheaux self-assigned this Feb 5, 2021
@jzheaux jzheaux added in: ldap An issue in spring-security-ldap type: enhancement A general enhancement labels Feb 5, 2021
jzheaux added a commit that referenced this pull request Nov 19, 2021
@jzheaux
Copy link
Contributor

jzheaux commented Nov 19, 2021

Thanks, @fhanik this is now merged via ae08608. I also added a polish to simplify the test, change the copyright date, and address the checkstyle errors.

@jzheaux jzheaux closed this Nov 19, 2021
@jzheaux jzheaux added this to the 6.0.0-M1 milestone Nov 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: ldap An issue in spring-security-ldap type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants