public abstract class AbstractSecurityWebSocketMessageBrokerConfigurer extends org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer
For example:
| Constructor and Description |
|---|
AbstractSecurityWebSocketMessageBrokerConfigurer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addArgumentResolvers(List<org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver> argumentResolvers) |
void |
configureClientInboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration) |
protected void |
configureInbound(MessageSecurityMetadataSourceRegistry messages) |
org.springframework.security.messaging.access.intercept.ChannelSecurityInterceptor |
inboundChannelSecurity() |
org.springframework.security.messaging.access.intercept.MessageSecurityMetadataSource |
inboundMessageSecurityMetadataSource() |
void |
registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry) |
org.springframework.security.messaging.context.SecurityContextChannelInterceptor |
securityContextChannelInterceptor() |
addReturnValueHandlers, configureClientOutboundChannel, configureMessageBroker, configureMessageConverters, configureWebSocketTransportpublic AbstractSecurityWebSocketMessageBrokerConfigurer()
public final void registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)
public void addArgumentResolvers(List<org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver> argumentResolvers)
addArgumentResolvers in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigureraddArgumentResolvers in class org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurerpublic final 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.AbstractWebSocketMessageBrokerConfigurer@Bean public org.springframework.security.messaging.access.intercept.ChannelSecurityInterceptor inboundChannelSecurity()
@Bean public org.springframework.security.messaging.context.SecurityContextChannelInterceptor securityContextChannelInterceptor()
@Bean public org.springframework.security.messaging.access.intercept.MessageSecurityMetadataSource inboundMessageSecurityMetadataSource()
protected void configureInbound(MessageSecurityMetadataSourceRegistry messages)
messages -