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(String authenticationHeaderName) 

Source Link

Document

Creates a new instance that uses the specified header to obtain the Authentication .

Usage

From source file:ch.rasc.wampspring.security.AbstractSecurityWampConfigurer.java

@Bean
public SecurityContextChannelInterceptor securityContextChannelInterceptor() {
    return new SecurityContextChannelInterceptor(WampMessageHeader.PRINCIPAL.name());
}