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 voidaddProperty(String key, Object value)StringgetClusterName()ObjectgetProperty(String key)StringgetSessionID()Get the sessionID.SessionTokengetSessionToken()TimeZonegetTimeZone()StringgetUserName()StringgetVdbName()intgetVdbVersion()voidreadExternal(ObjectInput in)voidwriteExternal(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:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
-