|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.platform.admin.apiimpl.SubSystemAdminAPIImpl
com.metamatrix.platform.admin.apiimpl.SessionAdminAPIImpl
public class SessionAdminAPIImpl
| Method Summary | |
|---|---|
int |
getActiveConnectionsCountForProduct(java.lang.String product)
Get the count of all active connections to a product. |
java.util.Collection |
getActiveSessions()
Get the collection of active user sessions on the system. |
int |
getActiveSessionsCount()
Get the count of active user sessions on the system. |
static SessionAdminAPI |
getInstance()
|
MetaMatrixPrincipal |
getPrincipal(MetaMatrixSessionID userSessionID)
Get the information for the account to which the specified session has been authenticated. |
java.lang.Boolean |
isSessionValid(MetaMatrixSessionID userSessionID)
|
void |
terminateSession(MetaMatrixSessionID userSessionID)
|
| Methods inherited from class com.metamatrix.platform.admin.apiimpl.SubSystemAdminAPIImpl |
|---|
getSessionID |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static SessionAdminAPI getInstance()
public MetaMatrixPrincipal getPrincipal(MetaMatrixSessionID userSessionID)
throws InvalidSessionException,
AuthorizationException,
MetaMatrixComponentException,
SessionServiceException
getPrincipal in interface SessionAdminAPIuserSessionID - ID identifying session for which the account information is to be obtained
sessionToken is logged into
InvalidSessionException - If the caller's session has expired or doesn't exist
SessionNotFoundException - If specified userSessionID is invalid or nonexistant
AuthorizationException - if the caller denoted by callerSessionID
does not have authority to access the account information for the userSessionID session
MetaMatrixComponentException - If couldn't find a component
SessionServiceException
public java.util.Collection getActiveSessions()
throws AuthorizationException,
InvalidSessionException,
MetaMatrixComponentException,
SessionServiceException
SessionAdminAPI
getActiveSessions in interface SessionAdminAPIAuthorizationException
InvalidSessionException
MetaMatrixComponentException
SessionServiceException
public void terminateSession(MetaMatrixSessionID userSessionID)
throws AuthorizationException,
InvalidSessionException,
MetaMatrixComponentException,
SessionServiceException
terminateSession in interface SessionAdminAPIAuthorizationException
InvalidSessionException
MetaMatrixComponentException
SessionServiceException
public java.lang.Boolean isSessionValid(MetaMatrixSessionID userSessionID)
throws AuthorizationException,
InvalidSessionException,
MetaMatrixComponentException,
SessionServiceException
isSessionValid in interface SessionAdminAPIAuthorizationException
InvalidSessionException
MetaMatrixComponentException
SessionServiceException
public int getActiveSessionsCount()
throws AuthorizationException,
InvalidSessionException,
MetaMatrixComponentException,
SessionServiceException
getActiveSessionsCount in interface SessionAdminAPIAuthorizationException
InvalidSessionException
MetaMatrixComponentException
SessionServiceException
public int getActiveConnectionsCountForProduct(java.lang.String product)
throws AuthorizationException,
InvalidSessionException,
MetaMatrixComponentException,
SessionServiceException
getActiveConnectionsCountForProduct in interface SessionAdminAPIAuthorizationException
InvalidSessionException
MetaMatrixComponentException
SessionServiceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||