Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
gssServiceTickets |
AUTH_TYPE, KRB5_ESTABLISHED, KRB5TOKEN
Constructor and Description |
---|
LogonImpl(SessionService service,
String clusterName) |
Modifier and Type | Method and Description |
---|---|
void |
assertIdentity(SessionToken checkSession) |
SessionService |
getSessionService() |
ResultsFuture<?> |
logoff()
Log off the specified session.
|
LogonResult |
logon(Properties connProps) |
protected static byte[] |
MD5(byte[] content) |
GSSResult |
neogitiateGssLogin(byte[] serviceTicket,
String vdbName,
String vdbVersion,
String user) |
LogonResult |
neogitiateGssLogin(Properties connProps,
byte[] serviceTicket,
boolean createSession) |
ResultsFuture<?> |
ping()
Ping the server to see if the client-server connection is alive.
|
ResultsFuture<?> |
ping(Collection<String> sessions) |
public LogonImpl(SessionService service, String clusterName)
public LogonResult logon(Properties connProps) throws LogonException
logon
in interface ILogon
LogonException
public LogonResult neogitiateGssLogin(Properties connProps, byte[] serviceTicket, boolean createSession) throws LogonException
neogitiateGssLogin
in interface ILogon
LogonException
public GSSResult neogitiateGssLogin(byte[] serviceTicket, String vdbName, String vdbVersion, String user) throws LogonException
LogonException
protected static byte[] MD5(byte[] content)
public ResultsFuture<?> logoff() throws InvalidSessionException
ILogon
logoff
in interface ILogon
InvalidSessionException
- If session has expired or doesn't existpublic ResultsFuture<?> ping() throws InvalidSessionException, TeiidComponentException
ILogon
ping
in interface ILogon
InvalidSessionException
- if the sessionID is invalidComponentNotFoundException
- if can't find the Session service.TeiidComponentException
public ResultsFuture<?> ping(Collection<String> sessions) throws TeiidComponentException, CommunicationException
ping
in interface ILogon
TeiidComponentException
CommunicationException
public void assertIdentity(SessionToken checkSession) throws InvalidSessionException, TeiidComponentException
assertIdentity
in interface ILogon
InvalidSessionException
TeiidComponentException
public SessionService getSessionService()
Copyright © 2018 JBoss by Red Hat. All rights reserved.