Example usage for org.springframework.security.web.authentication.session RegisterSessionAuthenticationStrategy RegisterSessionAuthenticationStrategy

List of usage examples for org.springframework.security.web.authentication.session RegisterSessionAuthenticationStrategy RegisterSessionAuthenticationStrategy

Introduction

In this page you can find the example usage for org.springframework.security.web.authentication.session RegisterSessionAuthenticationStrategy RegisterSessionAuthenticationStrategy.

Prototype

public RegisterSessionAuthenticationStrategy(SessionRegistry sessionRegistry) 

Source Link

Usage

From source file:com.acme.portal.SecurityConfig.java

@Bean
@Override//from  w ww  .  j  a v  a 2  s  .co  m
protected SessionAuthenticationStrategy sessionAuthenticationStrategy() {
    return new RegisterSessionAuthenticationStrategy(new SessionRegistryImpl());
}