|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Session
Session information for user currently logged in.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 user
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |