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

Support suspend functions with @EnableReactiveMethodSecurity #13770

Closed
sjohnr opened this issue Sep 1, 2023 · 2 comments
Closed

Support suspend functions with @EnableReactiveMethodSecurity #13770

sjohnr opened this issue Sep 1, 2023 · 2 comments
Assignees
Labels
in: core An issue in spring-security-core status: duplicate A duplicate of another issue type: enhancement A general enhancement

Comments

@sjohnr
Copy link
Member

sjohnr commented Sep 1, 2023

As a follow up to gh-13764, the following classes can be updated to support suspended functions with Kotlin coroutines:

  • AuthorizationManagerBeforeReactiveMethodInterceptor (e.g. @PreAuthorize)
  • AuthorizationManagerAfterReactiveMethodInterceptor (e.g. @PostAuthorize)
  • PreFilterAuthorizationReactiveMethodInterceptor (e.g. @PreFilter)
  • PostFilterAuthorizationReactiveMethodInterceptor (e.g. @PostFilter)

These classes are used when the application enables method security via @EnableReactiveMethodSecurity without useAuthorizationManager = false.

@sjohnr sjohnr added in: core An issue in spring-security-core type: enhancement A general enhancement labels Sep 1, 2023
@sjohnr sjohnr added this to the 6.2.0-M3 milestone Sep 1, 2023
@sjohnr sjohnr self-assigned this Sep 1, 2023
@sjohnr
Copy link
Member Author

sjohnr commented Sep 7, 2023

May be able to close this as a duplicate of gh-12080.

@sjohnr sjohnr modified the milestones: 6.2.0-M3, 6.2.0-RC1 Sep 15, 2023
@sjohnr sjohnr removed this from the 6.2.0-RC1 milestone Oct 13, 2023
@sjohnr sjohnr removed their assignment Nov 8, 2023
@sjohnr
Copy link
Member Author

sjohnr commented Nov 8, 2023

Closing as a duplicate of gh-12080.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core An issue in spring-security-core status: duplicate A duplicate of another issue type: enhancement A general enhancement
Projects
Archived in project
Development

No branches or pull requests

1 participant