Skip to content

Add Auto-configuration for RSocket Security #18356

@rwinch

Description

@rwinch

Spring Boot should autoconfigure RSocket Security

  • It should automatically apply @EnableRSocketSecurity
  • Conditionally create a MapReactiveUserDetailsService with secure random password as it does for WebFlux
  • It should automatically apply Spring Security to ServerRSocketFactory
@Bean
ServerRSocketFactoryCustomizer springSecurityRSocketSecurity(SecuritySocketAcceptorInterceptor interceptor) {
	return builder -> builder.addSocketAcceptorPlugin(interceptor);
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions