org.teiid.transport
Class LogonImpl

java.lang.Object
  extended by org.teiid.transport.LogonImpl
All Implemented Interfaces:
ILogon

public class LogonImpl
extends java.lang.Object
implements ILogon


Field Summary
 
Fields inherited from interface org.teiid.client.security.ILogon
KRB5_ESTABLISHED, KRB5TOKEN
 
Constructor Summary
LogonImpl(SessionService service, java.lang.String clusterName)
           
 
Method Summary
 void assertIdentity(SessionToken checkSession)
           
 ResultsFuture<?> logoff()
           
 LogonResult logon(java.util.Properties connProps)
           
 LogonResult neogitiateGssLogin(java.util.Properties connProps, byte[] serviceTicket, boolean createSession)
           
 ResultsFuture<?> ping()
           
 ResultsFuture<?> ping(java.util.Collection<java.lang.String> sessions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogonImpl

public LogonImpl(SessionService service,
                 java.lang.String clusterName)
Method Detail

logon

public LogonResult logon(java.util.Properties connProps)
                  throws LogonException,
                         TeiidComponentException,
                         CommunicationException
Specified by:
logon in interface ILogon
Throws:
LogonException
TeiidComponentException
CommunicationException

neogitiateGssLogin

public LogonResult neogitiateGssLogin(java.util.Properties connProps,
                                      byte[] serviceTicket,
                                      boolean createSession)
                               throws LogonException
Specified by:
neogitiateGssLogin in interface ILogon
Throws:
LogonException

logoff

public ResultsFuture<?> logoff()
                        throws InvalidSessionException
Specified by:
logoff in interface ILogon
Throws:
InvalidSessionException

ping

public ResultsFuture<?> ping()
                      throws InvalidSessionException,
                             TeiidComponentException
Specified by:
ping in interface ILogon
Throws:
InvalidSessionException
TeiidComponentException

ping

public ResultsFuture<?> ping(java.util.Collection<java.lang.String> sessions)
                      throws TeiidComponentException,
                             CommunicationException
Specified by:
ping in interface ILogon
Throws:
TeiidComponentException
CommunicationException

assertIdentity

public void assertIdentity(SessionToken checkSession)
                    throws InvalidSessionException,
                           TeiidComponentException
Specified by:
assertIdentity in interface ILogon
Throws:
InvalidSessionException
TeiidComponentException


Copyright © 2011. All Rights Reserved.