Package org.teiid.client.security
Interface ILogon
-
- All Known Implementing Classes:
LogonImpl
public interface ILogonGeneric logon interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidassertIdentity(SessionToken sessionId)ResultsFuture<?>logoff()Log off the specified session.LogonResultlogon(Properties connectionProperties)LogonResultneogitiateGssLogin(Properties connectionProperties, byte[] serviceToken, boolean createSession)ResultsFuture<?>ping()Ping the server to see if the client-server connection is alive.ResultsFuture<?>ping(Collection<String> sessions)Deprecated.
-
-
-
Field Detail
-
KRB5TOKEN
static final String KRB5TOKEN
- See Also:
- Constant Field Values
-
KRB5_ESTABLISHED
static final String KRB5_ESTABLISHED
- See Also:
- Constant Field Values
-
AUTH_TYPE
static final String AUTH_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
logon
@Secure LogonResult logon(Properties connectionProperties) throws LogonException, TeiidComponentException, CommunicationException
-
neogitiateGssLogin
@Secure LogonResult neogitiateGssLogin(Properties connectionProperties, byte[] serviceToken, boolean createSession) throws LogonException
- Throws:
LogonException
-
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 invalidComponentNotFoundException- if can't find the Session service.TeiidComponentExceptionCommunicationException
-
ping
@Deprecated ResultsFuture<?> ping(Collection<String> sessions) throws TeiidComponentException, CommunicationException
Deprecated.
-
logoff
ResultsFuture<?> logoff() throws InvalidSessionException, TeiidComponentException
Log off the specified session.- Throws:
InvalidSessionException- If session has expired or doesn't existComponentNotFoundException- If couldn't find needed service componentTeiidComponentException
-
assertIdentity
@Secure void assertIdentity(SessionToken sessionId) throws InvalidSessionException, TeiidComponentException, CommunicationException
-
-