Class WebSocketMessageBrokerSecurityConfigurer

  • All Implemented Interfaces:
    org.springframework.beans.factory.SmartInitializingSingleton, org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer

    @Configuration
    public class WebSocketMessageBrokerSecurityConfigurer
    extends org.springframework.security.config.annotation.web.socket.AbstractSecurityWebSocketMessageBrokerConfigurer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void configureInbound​(org.springframework.security.config.annotation.web.messaging.MessageSecurityMetadataSourceRegistry messages)  
      String[] getAuthorities()  
      String getEndpoint()  
      protected boolean sameOriginDisabled()  
      • Methods inherited from class org.springframework.security.config.annotation.web.socket.AbstractSecurityWebSocketMessageBrokerConfigurer

        addArgumentResolvers, afterSingletonsInstantiated, configureClientInboundChannel, csrfChannelInterceptor, customizeClientInboundChannel, inboundChannelSecurity, inboundMessageSecurityMetadataSource, registerStompEndpoints, securityContextChannelInterceptor, setApplicationContext, setMessageExpessionHandler, setMessageExpressionHandler, setObjectPostProcessor
      • Methods inherited from class org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer

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

      • WebSocketMessageBrokerSecurityConfigurer

        public WebSocketMessageBrokerSecurityConfigurer()
    • Method Detail

      • sameOriginDisabled

        protected boolean sameOriginDisabled()
        Overrides:
        sameOriginDisabled in class org.springframework.security.config.annotation.web.socket.AbstractSecurityWebSocketMessageBrokerConfigurer
      • configureInbound

        protected void configureInbound​(org.springframework.security.config.annotation.web.messaging.MessageSecurityMetadataSourceRegistry messages)
        Overrides:
        configureInbound in class org.springframework.security.config.annotation.web.socket.AbstractSecurityWebSocketMessageBrokerConfigurer
      • getEndpoint

        public String getEndpoint()
      • getAuthorities

        public String[] getAuthorities()