[Bugfix] fixed bug where certificate.lastAccess was not set after login
This commit is contained in:
parent
36b47dd971
commit
4f9cd72d68
|
@ -106,6 +106,7 @@ public class DefaultStrolchSessionHandler extends StrolchComponent implements St
|
||||||
|
|
||||||
synchronized (this.certificateMap) {
|
synchronized (this.certificateMap) {
|
||||||
Certificate certificate = this.privilegeHandler.authenticate(username, password);
|
Certificate certificate = this.privilegeHandler.authenticate(username, password);
|
||||||
|
certificate.setLastAccess(System.currentTimeMillis());
|
||||||
this.certificateMap.put(certificate.getAuthToken(), certificate);
|
this.certificateMap.put(certificate.getAuthToken(), certificate);
|
||||||
|
|
||||||
logger.info(this.certificateMap.size() + " sessions currently active.");
|
logger.info(this.certificateMap.size() + " sessions currently active.");
|
||||||
|
|
Loading…
Reference in New Issue