|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.jps.service.audit.AuditContext
public class AuditContext
Constructor Summary | |
---|---|
AuditContext() Default AuditContext constructor |
|
AuditContext(javax.servlet.http.HttpServletRequest request) AuditContext constructor |
|
AuditContext(java.lang.String ecid) |
Method Summary | |
---|---|
java.lang.String |
getExecContextId() The getExecContextId() method returns the ECID. |
java.lang.String[] |
getKeys() Returns all the keys as an array of Objects. |
java.lang.String |
getRemoteIP() |
java.lang.String |
getSessionId() The getSessionId() method returns the session ID. |
java.lang.Object |
getValue(java.lang.Object key) Returns the value corresponding to the key parameter. |
void |
setExecContextId(java.lang.String execContextId) Sets the ECID. |
void |
setRemoteIP(java.lang.String remoteIP) |
void |
setSessionId(java.lang.String sessionId) The setSessionId() method sets the session ID. |
void |
setValue(java.lang.String key, java.lang.Object value) Sets a (key, value) pair for the context. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuditContext()
public AuditContext(java.lang.String ecid)
ecid
- Identify the thread of execution that the originating component participates in. The execution context id is a combination of a unique identifier plus a sequence number which is generated when a thread of execution begins and is passed down the calling stack to other components, who increments the sequence number and in turn pass it on to the components they call. The value may be null. Required for core compliance.public AuditContext(javax.servlet.http.HttpServletRequest request)
request
- is a HttpServletRequest object. The constructor uses this object to retrieve the sessionId and ECID,Method Detail |
---|
public java.lang.String[] getKeys()
Object[]
.public java.lang.Object getValue(java.lang.Object key)
Object
.String
public void setValue(java.lang.String key, java.lang.Object value)
key
- Key objectvalue
- Value objectObject
public void setExecContextId(java.lang.String execContextId)
execContextId
- Stringpublic java.lang.String getExecContextId()
public void setSessionId(java.lang.String sessionId)
sessionId
- Stringpublic java.lang.String getSessionId()
public void setRemoteIP(java.lang.String remoteIP)
public java.lang.String getRemoteIP()
|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |