org.teiid.client.security
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.
 ResultsFuture<?> ping(java.util.Collection<java.lang.String> sessions)
           
 

Method Detail

logon

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

ping

ResultsFuture<?> ping()
                      throws InvalidSessionException,
                             TeiidComponentException,
                             CommunicationException
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.
TeiidComponentException
CommunicationException

ping

ResultsFuture<?> ping(java.util.Collection<java.lang.String> sessions)
                      throws TeiidComponentException,
                             CommunicationException
Throws:
TeiidComponentException
CommunicationException

logoff

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

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

assertIdentity

void assertIdentity(SessionToken sessionId)
                    throws InvalidSessionException,
                           TeiidComponentException,
                           CommunicationException
Throws:
InvalidSessionException
TeiidComponentException
CommunicationException


Copyright © 2011. All Rights Reserved.