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.

Comment From: sjohnr

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

Comment From: sjohnr

Closing as a duplicate of gh-12080.