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

Delay AuthenticationPrincipalArgumentResolver Lookup #8613

Closed
rwinch opened this issue May 29, 2020 · 0 comments
Closed

Delay AuthenticationPrincipalArgumentResolver Lookup #8613

rwinch opened this issue May 29, 2020 · 0 comments
Assignees
Labels
in: config An issue in spring-security-config status: backported An issue that has been backported to maintenance branches type: bug A general bug
Milestone

Comments

@rwinch
Copy link
Member

rwinch commented May 29, 2020

Use ObjectProvider<AuthenticationPrincipalArgumentResolver> to delay lookup of AuthenticationPrincipalArgumentResolver which can helps avoid BeanCurrentlyInCreationException. See gh-8596

@rwinch rwinch added in: config An issue in spring-security-config type: bug A general bug labels May 29, 2020
@rwinch rwinch added this to the 5.4.0-M2 milestone May 29, 2020
@rwinch rwinch self-assigned this May 29, 2020
@rwinch rwinch closed this as completed in 748538d May 29, 2020
rwinch added a commit that referenced this issue May 29, 2020
Use ObjectProvider<AuthenticationPrincipalArgumentResolver> to delay its
lookup.

Closes gh-8613
@spring-projects-issues spring-projects-issues added the status: backported An issue that has been backported to maintenance branches label May 29, 2020
rwinch added a commit that referenced this issue May 29, 2020
Use ObjectProvider<AuthenticationPrincipalArgumentResolver> to delay its
lookup.

Closes gh-8613
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 status: backported An issue that has been backported to maintenance branches type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants