public class SessionMetadata extends AdminObjectImpl implements Session
attachmentsDELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD| Constructor and Description |
|---|
SessionMetadata() |
| Modifier and Type | Method and Description |
|---|---|
long |
addAndGetBytesUsed(long bytes) |
String |
getApplicationName()
Get the Application Name
|
long |
getBytesUsed() |
String |
getClientHardwareAddress()
Get the client hardware (typically MAC) address.
|
String |
getClientHostName()
Get the host name of the machine the client is
accessing from.
|
long |
getCreatedTime()
Get the time the
Session was created. |
String |
getIPAddress()
Get the IPAddress for this Session.
|
long |
getLastPingTime()
Get the Last time Client has check to see if the server is still available
|
Object |
getSecurityContext() |
String |
getSecurityDomain()
Security Domain user logged into currently
|
String |
getSessionId()
Get the unique Teiid session
within a given Teiid System
|
SessionToken |
getSessionToken() |
Map<String,Object> |
getSessionVariables() |
Subject |
getSubject() |
String |
getUserName()
Get User Name for this Session
It will not include the Security Domain, see Session.getSecurityDomain() |
VDBMetaData |
getVdb() |
String |
getVDBName()
Get the VDB Name for this Session
|
String |
getVDBVersion()
Get the VDB Version for this Session
|
boolean |
isActive() |
boolean |
isClosed() |
boolean |
isEmbedded() |
void |
setActive(boolean active) |
void |
setApplicationName(String applicationName) |
void |
setClientHardwareAddress(String clientHardwareAddress) |
void |
setClientHostName(String clientHostname) |
void |
setClosed() |
void |
setCreatedTime(long createdTime) |
void |
setEmbedded(boolean embedded) |
void |
setIPAddress(String ipAddress) |
void |
setLastPingTime(long lastPingTime) |
void |
setSecurityContext(Object securityContext) |
void |
setSecurityDomain(String domain) |
void |
setSessionId(String sessionId) |
void |
setSessionToken(SessionToken sessionToken) |
void |
setSubject(Subject subject) |
void |
setUserName(String userName) |
void |
setVdb(VDBMetaData vdb) |
void |
setVDBName(String vdbName) |
void |
setVDBVersion(Object vdbVersion) |
String |
toString() |
addAttchment, addProperty, getAttachment, getHostName, getName, getProperties, getPropertiesMap, getPropertyValue, getServerGroup, getServerName, removeAttachment, removeProperty, setHostName, setName, setProperties, setServerGroup, setServerNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getProperties, getPropertyValuegetHostName, getServerGroup, getServerNamepublic String getApplicationName()
SessiongetApplicationName in interface Sessionpublic void setApplicationName(String applicationName)
public long getCreatedTime()
SessionSession was created.getCreatedTime in interface Sessionpublic void setCreatedTime(long createdTime)
public String getClientHostName()
SessiongetClientHostName in interface Sessionpublic void setClientHostName(String clientHostname)
public String getIPAddress()
SessiongetIPAddress in interface Sessionpublic void setIPAddress(String ipAddress)
public long getLastPingTime()
SessiongetLastPingTime in interface Sessionpublic void setLastPingTime(long lastPingTime)
public String getSessionId()
SessiongetSessionId in interface Sessionpublic void setSessionId(String sessionId)
public String getUserName()
SessionSession.getSecurityDomain()getUserName in interface Sessionpublic void setUserName(String userName)
public String getVDBName()
SessiongetVDBName in interface Sessionpublic void setVDBName(String vdbName)
public String getVDBVersion()
SessiongetVDBVersion in interface Sessionpublic void setVDBVersion(Object vdbVersion)
public String getSecurityDomain()
SessiongetSecurityDomain in interface Sessionpublic void setSecurityDomain(String domain)
public VDBMetaData getVdb()
public void setVdb(VDBMetaData vdb)
public SessionToken getSessionToken()
public void setSessionToken(SessionToken sessionToken)
public void setSubject(Subject subject)
public Object getSecurityContext()
public void setSecurityContext(Object securityContext)
public Subject getSubject()
public void setEmbedded(boolean embedded)
public boolean isEmbedded()
public String getClientHardwareAddress()
SessiongetClientHardwareAddress in interface Sessionpublic void setClientHardwareAddress(String clientHardwareAddress)
public void setClosed()
public boolean isClosed()
public long getBytesUsed()
public long addAndGetBytesUsed(long bytes)
public boolean isActive()
public void setActive(boolean active)
Copyright © 2018 JBoss by Red Hat. All rights reserved.