Skip to content

Support suspend functions with @EnableReactiveMethodSecurity #13770

@sjohnr

Description

@sjohnr

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions