Skip to content

Allow async task to be decorated #348

Description

@oliemansm

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions