[Bugfix] fixed bug where certificate.lastAccess was not set after login

This commit is contained in:
Robert von Burg 2014-10-31 20:47:26 +01:00
parent 36b47dd971
commit 4f9cd72d68
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@ public class DefaultStrolchSessionHandler extends StrolchComponent implements St
synchronized (this.certificateMap) {
Certificate certificate = this.privilegeHandler.authenticate(username, password);
certificate.setLastAccess(System.currentTimeMillis());
this.certificateMap.put(certificate.getAuthToken(), certificate);
logger.info(this.certificateMap.size() + " sessions currently active.");