|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SessionAdminAPI
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. |
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)
|
Method Detail |
---|
MetaMatrixPrincipal getPrincipal(MetaMatrixSessionID userSessionID) throws InvalidSessionException, AuthorizationException, MetaMatrixComponentException, SessionServiceException
userSessionID
- 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
java.util.Collection getActiveSessions() throws AuthorizationException, InvalidSessionException, MetaMatrixComponentException, SessionServiceException
AuthorizationException
InvalidSessionException
MetaMatrixComponentException
SessionServiceException
int getActiveSessionsCount() throws AuthorizationException, InvalidSessionException, MetaMatrixComponentException, SessionServiceException
AuthorizationException
InvalidSessionException
MetaMatrixComponentException
SessionServiceException
int getActiveConnectionsCountForProduct(java.lang.String product) throws AuthorizationException, InvalidSessionException, MetaMatrixComponentException, SessionServiceException
AuthorizationException
InvalidSessionException
MetaMatrixComponentException
SessionServiceException
void terminateSession(MetaMatrixSessionID userSessionID) throws AuthorizationException, InvalidSessionException, MetaMatrixComponentException, SessionServiceException
AuthorizationException
InvalidSessionException
MetaMatrixComponentException
SessionServiceException
java.lang.Boolean isSessionValid(MetaMatrixSessionID userSessionID) throws AuthorizationException, InvalidSessionException, MetaMatrixComponentException, SessionServiceException
AuthorizationException
InvalidSessionException
MetaMatrixComponentException
SessionServiceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |