SessionRepositoryFilter sets maxInactiveIntervalInSeconds on create

Fixes gh-324
This commit is contained in:
Rob Winch
2015-12-04 15:38:32 -06:00
parent f14942edb0
commit eb646ef5d8
2 changed files with 23 additions and 0 deletions

View File

@@ -290,6 +290,7 @@ public class SessionRepositoryFilter<S extends ExpiringSession> extends OncePerR
return null;
}
S session = sessionRepository.createSession();
session.setLastAccessedTime(System.currentTimeMillis());
currentSession = new HttpSessionWrapper(session, getServletContext());
setCurrentSession(currentSession);
return currentSession;