We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb4bb46 commit 895ef6cCopy full SHA for 895ef6c
docs/manual/src/docs/asciidoc/_includes/reactive/rsocket.adoc
@@ -43,9 +43,8 @@ In a Spring Boot application this is done automatically using `RSocketSecurityAu
43
[source,java]
44
----
45
@Bean
46
-ServerRSocketFactoryProcessor springSecurityRSocketSecurity(
47
- SecuritySocketAcceptorInterceptor interceptor) {
48
- return builder -> builder.addSocketAcceptorPlugin(interceptor);
+RSocketServerCustomizer springSecurityRSocketSecurity(SecuritySocketAcceptorInterceptor interceptor) {
+ return (server) -> server.interceptors((registry) -> registry.forSocketAcceptor(interceptor));
49
}
50
51
0 commit comments