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 Summary
ConstructorsConstructorDescriptionWebSocketConfiguration(org.springframework.security.oauth2.jwt.JwtDecoder jwtDecoder, JwtAuthenticationConverter jwtAuthenticationConverter, AllowedOrigins allowedOrigins) -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureClientInboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration) voidconfigureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry registry) voidregisterStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
addArgumentResolvers, addReturnValueHandlers, configureClientOutboundChannel, configureMessageConverters, configureWebSocketTransport
-
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:
registerStompEndpointsin interfaceorg.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
configureMessageBroker
public void configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry registry) - Specified by:
configureMessageBrokerin interfaceorg.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
configureClientInboundChannel
public void configureClientInboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration) - Specified by:
configureClientInboundChannelin interfaceorg.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-