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

Allow async task to be decorated #348

Closed
oliemansm opened this issue May 19, 2021 · 0 comments · Fixed by #350
Closed

Allow async task to be decorated #348

oliemansm opened this issue May 19, 2021 · 0 comments · Fixed by #350
Milestone

Comments

@oliemansm
Copy link
Member

Is your feature request related to a problem? Please describe.
When using async mode in combination with Spring Security using the Spring Boot starter the SecurityContext is not properly propagated to the async task. Since that task execution is initiated outside of Spring scope the normal task decorators that Spring Security provides for this purpose do not work.

Describe the solution you'd like
We need a similar mechanism here to make sure that the SecurityContext is propagated to the async task.

@oliemansm oliemansm added this to the 11.2.0 milestone May 19, 2021
oliemansm added a commit that referenced this issue May 19, 2021
@oliemansm oliemansm modified the milestones: 11.2.0, 12.0.0 Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant