|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.cafesoft.cams.session.AbstractBaseSession
|
+--com.cafesoft.cams.session.StandardRemoteSession
Standard implementation of the RemoteSession interface.
Session,
RemoteSession,
AbstractBaseSession,
Serialized Form| Field Summary |
| Fields inherited from class com.cafesoft.cams.session.AbstractBaseSession |
namespaceMap, sessionStatus, touchTime |
| Constructor Summary | |
StandardRemoteSession(SessionId sessionId,
String securityDomainName,
long creationTime,
long lastTouchTime,
long idleTime,
Map authenticationMap,
SessionStatus sessionStatus,
NamespaceMap namespaceMap,
String subjectName,
String[] principalNames)
Create a new StandardRemoteSession with the given Session id, creation time, last touch time, idle time, Map of AuthenticationMethods, SessionStatus, NamespaceMap, subject name, and array of principal names |
|
| Method Summary | |
long |
getIdleTime()
Get the idle time of the RemoteSession |
String[] |
getPrincipalNames()
Get the Principal names |
String |
getSubjectName()
Get the subject name of the RemoteSession |
void |
recycle()
Recycle the resources of this object |
| Methods inherited from class com.cafesoft.cams.session.AbstractBaseSession |
getAttribute, getAttributeNames, getAuthenticationMethods, getCreationTime, getId, getLastTouchTime, getNamespaces, getSecurityDomainName, getStatus |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.cafesoft.cams.session.Session |
getAttribute, getAttributeNames, getAuthenticationMethods, getCreationTime, getId, getLastTouchTime, getNamespaces, getSecurityDomainName, getStatus |
| Constructor Detail |
public StandardRemoteSession(SessionId sessionId,
String securityDomainName,
long creationTime,
long lastTouchTime,
long idleTime,
Map authenticationMap,
SessionStatus sessionStatus,
NamespaceMap namespaceMap,
String subjectName,
String[] principalNames)
sessionId - the session idsecurityDomainName - the securityDomain this remote session belongs
tocreationTime - the session creation timelastTouchTime - the last touch timeidleTime - the idle time allowed before session is invalidauthenticationMap - the Map of AuthenticationMethodssessionStatus - the Session's statusnamespaceMap - the NamespaceMap of the SessionsubjectName - the Subject name of the SessionprincipalNames - an array of Principal names| Method Detail |
public void recycle()
recycle in interface Recyclablerecycle in class AbstractBaseSessionpublic String[] getPrincipalNames()
getPrincipalNames in interface RemoteSessionpublic String getSubjectName()
getSubjectName in interface RemoteSessionpublic long getIdleTime()
getIdleTime in interface RemoteSession
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||