Skip to content

Commit b5c9ba6

Browse files
Chillthrowersjohnr
authored andcommitted
Update Documentation about Kotlin Coroutine Support
Closes gh-14646
1 parent fd891d8 commit b5c9ba6

File tree

1 file changed

+1
-8
lines changed
  • docs/modules/ROOT/pages/reactive/authorization

1 file changed

+1
-8
lines changed

docs/modules/ROOT/pages/reactive/authorization/method.adoc

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This improves upon `@EnableReactiveMethodSecurity` in a number of ways. `@Enable
1919

2020
1. Uses the simplified `AuthorizationManager` API instead of metadata sources, config attributes, decision managers, and voters.
2121
This simplifies reuse and customization.
22-
2. Supports reactive return types. Note that we are waiting on https://github.com/spring-projects/spring-framework/issues/22462[additional coroutine support from the Spring Framework] before adding coroutine support.
22+
2. Supports reactive return types including Kotlin coroutines.
2323
3. Is built using native Spring AOP, removing abstractions and allowing you to use Spring AOP building blocks to customize
2424
4. Checks for conflicting annotations to ensure an unambiguous security configuration
2525
5. Complies with JSR-250
@@ -304,13 +304,6 @@ and it will be invoked after the `@PostAuthorize` interceptor.
304304

305305
== EnableReactiveMethodSecurity
306306

307-
[WARNING]
308-
====
309-
`@EnableReactiveMethodSecurity` also supports Kotlin coroutines, though only to a limited degree.
310-
When intercepting coroutines, only the first interceptor participates.
311-
If any other interceptors are present and come after Spring Security's method security interceptor, https://github.com/spring-projects/spring-framework/issues/22462[they will be skipped].
312-
====
313-
314307
[tabs]
315308
======
316309
Java::

0 commit comments

Comments
 (0)