Example usage for org.springframework.security.messaging.context SecurityContextChannelInterceptor SecurityContextChannelInterceptor

List of usage examples for org.springframework.security.messaging.context SecurityContextChannelInterceptor SecurityContextChannelInterceptor

Introduction

In this page you can find the example usage for org.springframework.security.messaging.context SecurityContextChannelInterceptor SecurityContextChannelInterceptor.

Prototype

public SecurityContextChannelInterceptor() 

Source Link

Document

Creates a new instance using the header of the name SimpMessageHeaderAccessor#USER_HEADER .

Usage

From source file:com.northstrat.springsecurity.web.socket.AbstractSecurityWebSocketMessageBrokerConfigurer.java

@Bean
public SecurityContextChannelInterceptor securityContextChannelInterceptor() {
    return new SecurityContextChannelInterceptor();
}