Remove non-existent class from RSocket reference docs

Closes gh-9949
This commit is contained in:
Eleftheria Stein 2021-06-18 14:15:45 +02:00
parent cb4bb463da
commit 895ef6cf76
1 changed files with 2 additions and 3 deletions

View File

@ -43,9 +43,8 @@ In a Spring Boot application this is done automatically using `RSocketSecurityAu
[source,java]
----
@Bean
ServerRSocketFactoryProcessor springSecurityRSocketSecurity(
SecuritySocketAcceptorInterceptor interceptor) {
return builder -> builder.addSocketAcceptorPlugin(interceptor);
RSocketServerCustomizer springSecurityRSocketSecurity(SecuritySocketAcceptorInterceptor interceptor) {
return (server) -> server.interceptors((registry) -> registry.forSocketAcceptor(interceptor));
}
----