Class SecuritySocketAcceptorInterceptor

java.lang.Object
org.springframework.security.rsocket.core.SecuritySocketAcceptorInterceptor
All Implemented Interfaces:
io.rsocket.plugins.SocketAcceptorInterceptor, Function<io.rsocket.SocketAcceptor,io.rsocket.SocketAcceptor>

public class SecuritySocketAcceptorInterceptor extends Object implements io.rsocket.plugins.SocketAcceptorInterceptor
A SocketAcceptorInterceptor that applies Security through a delegate SocketAcceptorInterceptor. This allows security to be applied lazily to an application.
Since:
5.2
  • Constructor Details

    • SecuritySocketAcceptorInterceptor

      public SecuritySocketAcceptorInterceptor(io.rsocket.plugins.SocketAcceptorInterceptor acceptorInterceptor)
  • Method Details

    • apply

      public io.rsocket.SocketAcceptor apply(io.rsocket.SocketAcceptor socketAcceptor)
      Specified by:
      apply in interface Function<io.rsocket.SocketAcceptor,io.rsocket.SocketAcceptor>