Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-04


oracle.security.jps.service.audit
Class AuditContext

java.lang.Object
  extended by oracle.security.jps.service.audit.AuditContext


public class AuditContext
extends java.lang.Object
Since:
release specific (what release of product did this appear in)
Version:
$Header: jazn/jps/src/jps-api/oracle/security/jps/service/audit/AuditContext.java st_j2ee_sregmi_audit_jps_service/2 2008/07/31 14:48:19 sregmi Exp $
Author:
sregmi

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

AuditContext

public AuditContext()
Default AuditContext constructor

AuditContext

public AuditContext(java.lang.String ecid)
Parameters:
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.
Since:
1.0

AuditContext

public AuditContext(javax.servlet.http.HttpServletRequest request)
AuditContext constructor
Parameters:
request - is a HttpServletRequest object. The constructor uses this object to retrieve the sessionId and ECID,
Since:
1.0

Method Detail

getKeys

public java.lang.String[] getKeys()
Returns all the keys as an array of Objects.
Returns:
Object[].
Since:
1.0

getValue

public java.lang.Object getValue(java.lang.Object key)
Returns the value corresponding to the key parameter.
Returns:
Object.
Since:
1.0
See Also:
String

setValue

public void setValue(java.lang.String key,
                     java.lang.Object value)
Sets a (key, value) pair for the context.
Parameters:
key - Key object
value - Value object
Since:
1.0
See Also:
Object

setExecContextId

public void setExecContextId(java.lang.String execContextId)
Sets the ECID.
Parameters:
execContextId - String
Since:
1.0

getExecContextId

public java.lang.String getExecContextId()
The getExecContextId() method returns the ECID.
Returns:
LogMessage.InstanceId
Since:
1.0

setSessionId

public void setSessionId(java.lang.String sessionId)
The setSessionId() method sets the session ID.
Parameters:
sessionId - String
Since:
1.0

getSessionId

public java.lang.String getSessionId()
The getSessionId() method returns the session ID.
Returns:
String session ID
Since:
1.0

setRemoteIP

public void setRemoteIP(java.lang.String remoteIP)

getRemoteIP

public java.lang.String getRemoteIP()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-04


Copyright © 2011, Oracle. All rights reserved.