Skip to content

Commit b00999d

Browse files
committed
Docs ServerRSocketFactoryCustomizer->ServerRSocketFactoryProcessor
The documentation incorrectly used ServerRSocketFactoryCustomizer which was renamed to ServerRSocketFactoryProcessor. The docs now use the correct class name Fixes gh-7737
1 parent 59ca2dd commit b00999d

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ This configuration enables <<rsocket-authentication-basic,basic authentication>>
3838

3939
For Spring Security to work we need to apply `SecuritySocketAcceptorInterceptor` to the `ServerRSocketFactory`.
4040
This is what connects our `PayloadSocketAcceptorInterceptor` we created with the RSocket infrastructure.
41-
In a Spring Boot application this can be done using the following code.
41+
In a Spring Boot application this is done automatically using `RSocketSecurityAutoConfiguration` with the following code.
4242

4343
[source,java]
4444
----
4545
@Bean
46-
ServerRSocketFactoryCustomizer springSecurityRSocketSecurity(
46+
ServerRSocketFactoryProcessor springSecurityRSocketSecurity(
4747
SecuritySocketAcceptorInterceptor interceptor) {
4848
return builder -> builder.addSocketAcceptorPlugin(interceptor);
4949
}

0 commit comments

Comments
 (0)