Skip to content

Commit edcba77

Browse files
committed
Merge branch '6.1.x' into 6.2.x
Closes gh-14348
2 parents 80c9091 + 3f881eb commit edcba77

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/modules/ROOT/pages/reactive/integrations/rsocket.adoc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ This configuration enables <<rsocket-authentication-simple,simple authentication
6262

6363
For Spring Security to work, we need to apply `SecuritySocketAcceptorInterceptor` to the `ServerRSocketFactory`.
6464
Doing so connects our `PayloadSocketAcceptorInterceptor` with the RSocket infrastructure.
65-
In a Spring Boot application, you can do this automatically by using `RSocketSecurityAutoConfiguration` with the following code:
65+
66+
Spring Boot registers it automatically in `RSocketSecurityAutoConfiguration` when you include {gh-samples-url}/reactive/rsocket/hello-security/build.gradle[the correct dependencies].
67+
68+
Or, if you are not using Boot's auto-configuration, you can register it manually in the following way:
6669

6770
[tabs]
6871
======
@@ -91,6 +94,8 @@ fun springSecurityRSocketSecurity(interceptor: SecuritySocketAcceptorInterceptor
9194
----
9295
======
9396

97+
To customize the interceptor itself, use `RSocketSecurity` to add <<rsocket-authentication,authentication>> and <<rsocket-authorization,authorization>>.
98+
9499
[[rsocket-authentication]]
95100
== RSocket Authentication
96101

0 commit comments

Comments
 (0)