use of org.springframework.security.web.session.SessionInformationExpiredStrategy in project spring-security by spring-projects.
the class SessionManagementConfigurer method createConccurencyFilter.
private ConcurrentSessionFilter createConccurencyFilter(H http) {
SessionInformationExpiredStrategy expireStrategy = getExpiredSessionStrategy();
SessionRegistry sessionRegistry = getSessionRegistry(http);
if (expireStrategy == null) {
return new ConcurrentSessionFilter(sessionRegistry);
}
return new ConcurrentSessionFilter(sessionRegistry, expireStrategy);
}
Aggregations