@Bean public ConcurrentSessionFilter concurrentSessionFilter(){ SimpleRedirectSessionInformationExpiredStrategy expiredSessionStrategy = new SimpleRedirectSessionInformationExpiredStrategy("/login/form?expired"); return new ConcurrentSessionFilter(sessionRegistry(), expiredSessionStrategy); }
public ConcurrentSessionFilter concurrentSessionFilter(){ SimpleRedirectSessionInformationExpiredStrategy expiredSessionStrategy = new SimpleRedirectSessionInformationExpiredStrategy("/login/form?expired"); return new ConcurrentSessionFilter(sessionRegistry(), expiredSessionStrategy); }