com.metamatrix.platform.security.api
Interface ILogon

All Known Implementing Classes:
LogonImpl

public interface ILogon

Generic logon interface.


Method Summary
 void assertIdentity(SessionToken sessionId)
           
 ResultsFuture<?> logoff()
          Log off the specified session.
 LogonResult logon(java.util.Properties connectionProperties)
           
 ResultsFuture<?> ping()
          Ping the server to see if the client-server connection is alive.
 

Method Detail

logon

LogonResult logon(java.util.Properties connectionProperties)
                  throws LogonException,
                         MetaMatrixComponentException
Throws:
LogonException
MetaMatrixComponentException

ping

ResultsFuture<?> ping()
                      throws InvalidSessionException,
                             MetaMatrixComponentException
Ping the server to see if the client-server connection is alive.

Throws:
InvalidSessionException - if the sessionID is invalid
ComponentNotFoundException - if can't find the Session service.
MetaMatrixComponentException

logoff

ResultsFuture<?> logoff()
                        throws InvalidSessionException,
                               MetaMatrixComponentException
Log off the specified session.

Throws:
InvalidSessionException - If session has expired or doesn't exist
ComponentNotFoundException - If couldn't find needed service component
MetaMatrixComponentException

assertIdentity

void assertIdentity(SessionToken sessionId)
                    throws InvalidSessionException,
                           MetaMatrixComponentException
Throws:
InvalidSessionException
MetaMatrixComponentException


Copyright © 2009. All Rights Reserved.