public interface Session extends Serializable
修飾子とタイプ | メソッドと説明 |
---|---|
long |
getInactivityTimeout()
Gets the session inactivity timeout in milliseconds.
|
org.joda.time.DateTime |
getLastActivityInstant()
Gets the time of the last activity from the user.
|
String |
getPrincipalName()
A convenience method that gets the first principal retrieved from the
Subject . |
String |
getSessionID()
Gets the unique identifier of the session.
|
Subject |
getSubject()
Gets the subject with which this session is associated.
|
void |
setLastActivityInstant(org.joda.time.DateTime lastActivity)
Sets the time of the last activity from the user.
|
void |
setSubject(Subject newSubject)
Sets the subject with which this session is associated.
|
String getSessionID()
Subject getSubject()
void setSubject(Subject newSubject)
newSubject
- the subject with which this session is associatedString getPrincipalName()
Subject
.long getInactivityTimeout()
org.joda.time.DateTime getLastActivityInstant()
void setLastActivityInstant(org.joda.time.DateTime lastActivity)
lastActivity
- time of the last activity from the userCopyright © 2012. All Rights Reserved.