|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.platform.security.api.MetaMatrixSessionInfo
public class MetaMatrixSessionInfo
This class represents an immutable informational object describing the attributes of a unique MetaMatrix session within a given MetaMatrix System.
Field Summary | |
---|---|
static long |
serialVersionUID
|
Constructor Summary | |
---|---|
MetaMatrixSessionInfo(MetaMatrixSessionID sessionID,
java.lang.String userName,
long timeCreated,
java.lang.String applicationName,
java.util.Properties productInfo,
java.lang.String clientIp,
java.lang.String clientHostname)
Master constructor, allows a MetaMatrixSessionInfo to be created with any state and any timestamps. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Return a cloned instance of this object. |
java.lang.String |
getApplicationName()
|
java.lang.String |
getClientHostname()
|
java.lang.String |
getClientIp()
|
long |
getLastPingTime()
Get the time the server was last pinged by this session. |
java.util.Properties |
getProductInfo()
|
java.lang.String |
getProductInfo(java.lang.String key)
|
MetaMatrixSessionID |
getSessionID()
|
SessionToken |
getSessionToken()
|
long |
getTimeCreated()
|
java.io.Serializable |
getTrustedToken()
|
java.lang.String |
getUserName()
|
void |
setLastPingTime(long lastPingTime)
Used ONLY by the session service to set the time this session last initiated a server ping. |
void |
setTrustedToken(java.io.Serializable trustedToken)
|
java.lang.String |
toString()
Returns a string representing the current state of the object. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public MetaMatrixSessionInfo(MetaMatrixSessionID sessionID, java.lang.String userName, long timeCreated, java.lang.String applicationName, java.util.Properties productInfo, java.lang.String clientIp, java.lang.String clientHostname)
Method Detail |
---|
public MetaMatrixSessionID getSessionID()
public java.lang.String getUserName()
public java.lang.String getApplicationName()
public long getTimeCreated()
public long getLastPingTime()
public void setLastPingTime(long lastPingTime)
lastPingTime
- The last time this session pinged the server.public SessionToken getSessionToken()
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getProductInfo(java.lang.String key)
public java.util.Properties getProductInfo()
public java.lang.String getClientIp()
public java.lang.String getClientHostname()
public void setTrustedToken(java.io.Serializable trustedToken)
public java.io.Serializable getTrustedToken()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |