Open kacper-emersoft opened 4 years ago
I cannot see any option to check/validate IP address of client using Spring Security RSocket library.
RSocket Security gives no option to validate or whitelist IP address of client on setup phase.
I would love to have similar method like .hasIpAddress in Webflux or MVC security configuration.
.hasIpAddress
5.2.1.RELEASE
@Bean PayloadSocketAcceptorInterceptor rsocketInterceptor(RSocketSecurity rSocket) { return rSocket .authorizePayload(authorize -> authorize .anyRequest().hasAnyRole(...) // hasIpAddress missing .anyExchange().permitAll() ) .jwt(Customizer.withDefaults()) .build(); }
a bit more discussion in RSocket github: https://github.com/rsocket/rsocket-java/issues/743
Summary
I cannot see any option to check/validate IP address of client using Spring Security RSocket library.
Actual Behavior
RSocket Security gives no option to validate or whitelist IP address of client on setup phase.
Expected Behavior
I would love to have similar method like
.hasIpAddress
in Webflux or MVC security configuration.Configuration
Version
5.2.1.RELEASE
Sample