Class AuthChannelInterceptorAdapter

java.lang.Object
restapi.utils.websocket.AuthChannelInterceptorAdapter
All Implemented Interfaces:
org.springframework.messaging.support.ChannelInterceptor

@Component public class AuthChannelInterceptorAdapter extends Object implements org.springframework.messaging.support.ChannelInterceptor
  • Field Details

  • Constructor Details

  • Method Details

    • preSend

      public org.springframework.messaging.Message<?> preSend(org.springframework.messaging.Message<?> message, org.springframework.messaging.MessageChannel channel) throws org.springframework.security.core.AuthenticationException
      Specified by:
      preSend in interface org.springframework.messaging.support.ChannelInterceptor
      Throws:
      org.springframework.security.core.AuthenticationException