public abstract class AbstractSecurityWebSocketMessageBrokerConfigurer extends org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer
For example:
Constructor and Description |
---|
AbstractSecurityWebSocketMessageBrokerConfigurer() |
Modifier and Type | Method and Description |
---|---|
ChannelSecurityInterceptor |
channelSecurity() |
protected abstract void |
configure(MessageSecurityMetadataSourceRegistry messages) |
void |
configureClientInboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration) |
void |
configureClientOutboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration) |
MessageSecurityMetadataSource |
metadataSource() |
void |
registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry) |
SecurityContextChannelInterceptor |
securityContextChannelInterceptor() |
configureMessageBroker, configureMessageConverters, configureWebSocketTransport
public AbstractSecurityWebSocketMessageBrokerConfigurer()
public void registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)
public void configureClientInboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration)
configureClientInboundChannel
in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
configureClientInboundChannel
in class org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer
public void configureClientOutboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration)
configureClientOutboundChannel
in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
configureClientOutboundChannel
in class org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer
@Bean public ChannelSecurityInterceptor channelSecurity()
@Bean public SecurityContextChannelInterceptor securityContextChannelInterceptor()
@Bean public MessageSecurityMetadataSource metadataSource()
protected abstract void configure(MessageSecurityMetadataSourceRegistry messages)
messages
-