Java 类org.springframework.security.web.session.ConcurrentSessionFilter 实例源码

项目:Spring-Security-Third-Edition    文件:SessionConfig.java   
@Bean
public ConcurrentSessionFilter concurrentSessionFilter(){
    SimpleRedirectSessionInformationExpiredStrategy expiredSessionStrategy =
            new SimpleRedirectSessionInformationExpiredStrategy("/login/form?expired");
    return new ConcurrentSessionFilter(sessionRegistry(), expiredSessionStrategy);
}
项目:Spring-Security-Third-Edition    文件:SessionConfig.java   
public ConcurrentSessionFilter concurrentSessionFilter(){
    SimpleRedirectSessionInformationExpiredStrategy expiredSessionStrategy =
            new SimpleRedirectSessionInformationExpiredStrategy("/login/form?expired");
    return new ConcurrentSessionFilter(sessionRegistry(), expiredSessionStrategy);
}