|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The Session interface represents a Cams "authentication session"
created on successful login and active until explicitly closed (logout) or
expired due to inactivity.
In addition, Sessions provide:
| Method Summary | |
Object |
getAttribute(String namespace,
String name)
Get a attribute from the session |
String[] |
getAttributeNames(String namespace)
Get the names of all the attributes in the session |
Map |
getAuthenticationMethods()
Get the authentication methods used to login the Subject. |
long |
getCreationTime()
Get the session creation time. |
SessionId |
getId()
Get the Session's Id |
long |
getLastTouchTime()
Get the instant the session was last touched. |
String[] |
getNamespaces()
Get all attribute namespaces. |
String |
getSecurityDomainName()
Get the Session's security domain name. |
SessionStatus |
getStatus()
Get the Session status. |
| Methods inherited from interface com.cafesoft.core.util.Recyclable |
recycle |
| Method Detail |
public SessionId getId()
public String getSecurityDomainName()
public long getLastTouchTime()
public long getCreationTime()
public Map getAuthenticationMethods()
AuthenticationMethodpublic SessionStatus getStatus()
public Object getAttribute(String namespace,
String name)
namespace - the namespace of the name/value pairname - the name string to get the value for
public String[] getNamespaces()
public String[] getAttributeNames(String namespace)
namespace - the namespace of attributes to be retrieved.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||