com.metamatrix.platform.admin.apiimpl
Class AdminAPIHelper
java.lang.Object
com.metamatrix.platform.admin.apiimpl.AdminAPIHelper
public class AdminAPIHelper
- extends java.lang.Object
Static implementation of the AdminHelper.
This class is used by all AdminAPIImpl to do general tasks such as
session validation and authorization role checking.
Method Summary |
static SessionToken |
validateSession()
Get the SessionToken and validate that the session is active
for the specified MetaMatrixSessionID . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdminAPIHelper
public AdminAPIHelper()
validateSession
public static SessionToken validateSession()
throws InvalidSessionException,
ComponentNotFoundException
- Get the
SessionToken
and validate that the session is active
for the specified MetaMatrixSessionID
.
- Returns:
- The
SessionToken
for the session in question.
- Throws:
InvalidSessionException
- If session has expired or doesn't exist
ComponentNotFoundException
- If couldn't find needed service component
Copyright © 2009. All Rights Reserved.