Skip to content

Fix getBeansWithName in global authentication configurers #15781

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

Merged

Conversation

Kehrlann
Copy link
Contributor

@Kehrlann Kehrlann commented Sep 10, 2024

There was a small bug with getBeansWithName in both InitializeAuthenticationProviderBeanManagerConfigurer and InitializeUserDetailsBeanManagerConfigurer, where we returned a list containing n copies of the same bean.

This did not have any functional impact as we only ever use the list when there is only one element in it.


Please merge forward to main.

@Kehrlann Kehrlann changed the base branch from main to 5.8.x September 10, 2024 10:10
@Kehrlann Kehrlann changed the base branch from 5.8.x to main September 10, 2024 10:11
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Sep 10, 2024
@Kehrlann Kehrlann force-pushed the fix/initialize-manager-configurer branch from d622592 to 76eef54 Compare September 10, 2024 10:13
@Kehrlann Kehrlann changed the base branch from main to 6.3.x September 10, 2024 10:14
@Kehrlann Kehrlann force-pushed the fix/initialize-manager-configurer branch from 76eef54 to d68b1ed Compare September 11, 2024 05:55
@rwinch rwinch self-assigned this Sep 11, 2024
@rwinch rwinch added in: config An issue in spring-security-config type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Sep 11, 2024
@rwinch rwinch added this to the 6.4.0-M4 milestone Sep 11, 2024
@rwinch rwinch merged commit 51d0a8b into spring-projects:6.3.x Sep 11, 2024
6 checks passed
@rwinch
Copy link
Member

rwinch commented Sep 11, 2024

Thanks for the Pull Request! This is now merged into main 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: config An issue in spring-security-config type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants