Class WebSocketMessageBrokerSecurityConfigurer

java.lang.Object
org.springframework.security.config.annotation.web.socket.AbstractSecurityWebSocketMessageBrokerConfigurer
org.activiti.cloud.services.notifications.qraphql.ws.security.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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    configureInbound(org.springframework.security.config.annotation.web.messaging.MessageSecurityMetadataSourceRegistry messages)
     
     
     
    protected boolean
     

    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 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

    addReturnValueHandlers, configureClientOutboundChannel, configureMessageBroker, configureMessageConverters, configureWebSocketTransport, getPhase
  • Constructor Details

    • WebSocketMessageBrokerSecurityConfigurer

      public WebSocketMessageBrokerSecurityConfigurer()
  • Method Details

    • 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()