Class KeycloakSecurityContextInerceptorConfigurer

  • All Implemented Interfaces:
    org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer

    @Order(-2147483549)
    public class KeycloakSecurityContextInerceptorConfigurer
    extends java.lang.Object
    implements org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configureClientInboundChannel​(org.springframework.messaging.simp.config.ChannelRegistration registration)  
      void setHeaderName​(java.lang.String headerName)  
      void setHeaderValues​(java.util.List<java.lang.String> headerValues)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer

        addArgumentResolvers, addReturnValueHandlers, configureClientOutboundChannel, configureMessageBroker, configureMessageConverters, configureWebSocketTransport, registerStompEndpoints
    • Constructor Detail

      • KeycloakSecurityContextInerceptorConfigurer

        public KeycloakSecurityContextInerceptorConfigurer​(KeycloakAccessTokenVerifier tokenVerifier)
    • Method Detail

      • configureClientInboundChannel

        public void configureClientInboundChannel​(org.springframework.messaging.simp.config.ChannelRegistration registration)
        Specified by:
        configureClientInboundChannel in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
      • setHeaderValues

        public void setHeaderValues​(java.util.List<java.lang.String> headerValues)
      • setHeaderName

        public void setHeaderName​(java.lang.String headerName)