Skip to content

Commit 895ef6c

Browse files
committed
Remove non-existent class from RSocket reference docs
Closes gh-9949
1 parent cb4bb46 commit 895ef6c

File tree

1 file changed

+2
-3
lines changed
  • docs/manual/src/docs/asciidoc/_includes/reactive

1 file changed

+2
-3
lines changed

docs/manual/src/docs/asciidoc/_includes/reactive/rsocket.adoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,8 @@ In a Spring Boot application this is done automatically using `RSocketSecurityAu
4343
[source,java]
4444
----
4545
@Bean
46-
ServerRSocketFactoryProcessor springSecurityRSocketSecurity(
47-
SecuritySocketAcceptorInterceptor interceptor) {
48-
return builder -> builder.addSocketAcceptorPlugin(interceptor);
46+
RSocketServerCustomizer springSecurityRSocketSecurity(SecuritySocketAcceptorInterceptor interceptor) {
47+
return (server) -> server.interceptors((registry) -> registry.forSocketAcceptor(interceptor));
4948
}
5049
----
5150

0 commit comments

Comments
 (0)