Class WebSocketConfiguration

java.lang.Object
com.easy_model.webservice.securityhelpers.WebSocketConfiguration
All Implemented Interfaces:
org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer

@Component @Configuration @EnableWebSocketMessageBroker @Order(-2147483549) public class WebSocketConfiguration extends Object implements org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
  • Constructor Details

    • WebSocketConfiguration

      @Autowired public WebSocketConfiguration(org.springframework.security.oauth2.jwt.JwtDecoder jwtDecoder, JwtAuthenticationConverter jwtAuthenticationConverter, AllowedOrigins allowedOrigins)
  • Method Details

    • registerStompEndpoints

      public void registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)
      Specified by:
      registerStompEndpoints in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
    • configureMessageBroker

      public void configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry registry)
      Specified by:
      configureMessageBroker in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
    • configureClientInboundChannel

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