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, configureWebSocketTransportpublic 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.WebSocketMessageBrokerConfigurerconfigureClientInboundChannel in class org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurerpublic void configureClientOutboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration)
configureClientOutboundChannel in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurerconfigureClientOutboundChannel 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 -