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 SessionBean.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() |
addAttachment, 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()
SessionBeangetApplicationName in interface SessionBeanpublic void setApplicationName(String applicationName)
public long getCreatedTime()
SessionBeanSession was created.getCreatedTime in interface SessionBeanpublic void setCreatedTime(long createdTime)
public String getClientHostName()
SessionBeangetClientHostName in interface SessionBeanpublic void setClientHostName(String clientHostname)
public String getIPAddress()
SessionBeangetIPAddress in interface SessionBeanpublic void setIPAddress(String ipAddress)
public long getLastPingTime()
SessionBeangetLastPingTime in interface SessionBeanpublic void setLastPingTime(long lastPingTime)
public String getSessionId()
SessionBeangetSessionId in interface SessionBeanpublic void setSessionId(String sessionId)
public String getUserName()
SessionBeanSessionBean.getSecurityDomain()getUserName in interface SessionBeanpublic void setUserName(String userName)
public String getVDBName()
SessionBeangetVDBName in interface SessionBeanpublic void setVDBName(String vdbName)
public String getVDBVersion()
SessionBeangetVDBVersion in interface SessionBeanpublic void setVDBVersion(Object vdbVersion)
public String getSecurityDomain()
SessionBeangetSecurityDomain in interface SessionBeanpublic 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()
SessionBeangetClientHardwareAddress in interface SessionBeanpublic 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 © 2019. All rights reserved.