public class Session
extends java.lang.Object
SessionAuthenticator| Constructor and Description |
|---|
Session(java.lang.String userID,
java.lang.String sessionID,
long expiration)
Constructs a
Session. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isExpired()
Checks whether the session has expired or not.
|
public Session(java.lang.String userID,
java.lang.String sessionID,
long expiration)
Session.userID - the identifier of the user.sessionID - the identifier of the session.expiration - the expiration date of the session.