Package org.teiid.client.security
Class LogonResult
- java.lang.Object
-
- org.teiid.client.security.LogonResult
-
- All Implemented Interfaces:
Externalizable
,Serializable
public class LogonResult extends Object implements Externalizable
Dataholder for the result ofILogon.logon()
. Contains a sessionID Analogous to the server side SessionToken- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LogonResult()
LogonResult(SessionToken token, String vdbName, String clusterName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addProperty(String key, Object value)
String
getClusterName()
Object
getProperty(String key)
String
getSessionID()
Get the sessionID.SessionToken
getSessionToken()
TimeZone
getTimeZone()
String
getUserName()
String
getVdbName()
int
getVdbVersion()
void
readExternal(ObjectInput in)
void
writeExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
LogonResult
public LogonResult()
-
LogonResult
public LogonResult(SessionToken token, String vdbName, String clusterName)
-
-
Method Detail
-
getSessionID
public String getSessionID()
Get the sessionID.- Returns:
- Since:
- 4.3
-
getTimeZone
public TimeZone getTimeZone()
-
getUserName
public String getUserName()
-
getClusterName
public String getClusterName()
-
getSessionToken
public SessionToken getSessionToken()
-
getVdbName
public String getVdbName()
-
getVdbVersion
public int getVdbVersion()
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
-