[websession] Make WebsessionManager.Val.expiresAt available to plugins

The expiration time for a web session is stored in Val's private field
'expiresAt'. This value is needed for the websession-flatfile plugin in
order to implement the cleaning up of outdated web session cache files.

Create an accessor to WebsessionManager.Val.expiresAt field so that it
can be used by websession-flatfile plugin.

Change-Id: I2b98dbb7db0e12514adaa440b9774061ff368cb3
This commit is contained in:
Hector Oswaldo Caballero
2015-09-02 04:59:14 -04:00
parent 80702e40cb
commit 3a123235c1

View File

@@ -201,6 +201,10 @@ public class WebSessionManager {
this.auth = auth;
}
public long getExpiresAt() {
return expiresAt;
}
Account.Id getAccountId() {
return accountId;
}