Package com.netscape.certsrv.logging
Class AuditEvent
java.lang.Object
com.netscape.certsrv.logging.LogEvent
com.netscape.certsrv.logging.AuditEvent
The log event object that carries message detail of a log event
that goes into the Transaction log. Note that the name of this
class "AuditEvent" is legacy and has nothing to do with the signed
audit log events, whcih are represented by SignedAuditEvent.
- Version:
- $Revision$, $Date$
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a message from a base exception.AuditEvent
(String msgFormat) Constructs a message eventAuditEvent
(String msgFormat, Exception exception) Constructs a message from an exception.AuditEvent
(String msgFormat, Object[] params) Constructs a message event with a list of parameters that will be substituted into the message format.AuditEvent
(String msgFormat, String param) Constructs a message with a parameter. -
Method Summary
Methods inherited from class com.netscape.certsrv.logging.LogEvent
getEventType, getLevel, getMessage, getMultiline, getNTEventType, getParameters, getSource, getTimeStamp, setEventType, setLevel, setMessage, setMultiline, setParameters, setSource, toString
-
Field Details
-
AUDIT_LOG_STARTUP
- See Also:
-
AUDIT_LOG_SHUTDOWN
- See Also:
-
CIMC_CERT_VERIFICATION
- See Also:
-
CONFIG_CERT_POLICY
- See Also:
-
CONFIG_CERT_PROFILE
- See Also:
-
CONFIG_CRL_PROFILE
- See Also:
-
CONFIG_OCSP_PROFILE
- See Also:
-
CONFIG_AUTH
- See Also:
-
CONFIG_ACL
- See Also:
-
CONFIG_ENCRYPTION
- See Also:
-
CONFIG_DRM
- See Also:
-
SELFTESTS_EXECUTION
- See Also:
-
AUDIT_LOG_DELETE
- See Also:
-
LOG_PATH_CHANGE
- See Also:
-
KEY_RECOVERY_AGENT_LOGIN
- See Also:
-
KEY_GEN_ASYMMETRIC
- See Also:
-
NON_PROFILE_CERT_REQUEST
- See Also:
-
PROFILE_CERT_REQUEST
- See Also:
-
CMC_REQUEST_RECEIVED
- See Also:
-
CMC_RESPONSE_SENT
- See Also:
-
INTER_BOUNDARY
- See Also:
-
CERT_PROFILE_APPROVAL
- See Also:
-
PROOF_OF_POSSESSION
- See Also:
-
CMC_PROOF_OF_IDENTIFICATION
- See Also:
-
CMC_ID_POP_LINK_WITNESS
- See Also:
-
CRL_RETRIEVAL
- See Also:
-
CRL_VALIDATION
- See Also:
-
COMPUTE_RANDOM_DATA_REQUEST
- See Also:
-
COMPUTE_SESSION_KEY_REQUEST
- See Also:
-
DIVERSIFY_KEY_REQUEST
- See Also:
-
ENCRYPT_DATA_REQUEST
- See Also:
-
SECURITY_DOMAIN_UPDATE
- See Also:
-
CONFIG_SERIAL_NUMBER
- See Also:
-
TOKEN_CERT_ENROLLMENT
- See Also:
-
TOKEN_CERT_RENEWAL
- See Also:
-
TOKEN_CERT_RETRIEVAL
- See Also:
-
TOKEN_KEY_RECOVERY
- See Also:
-
TOKEN_CERT_STATUS_CHANGE_REQUEST
- See Also:
-
TOKEN_OP_REQUEST
- See Also:
-
TOKEN_KEY_CHANGEOVER_REQUIRED
- See Also:
-
TOKEN_KEY_SANITY_CHECK_SUCCESS
- See Also:
-
TOKEN_KEY_SANITY_CHECK_FAILURE
- See Also:
-
CONFIG_TOKEN_GENERAL
- See Also:
-
CONFIG_TOKEN_PROFILE
- See Also:
-
CONFIG_TOKEN_MAPPING_RESOLVER
- See Also:
-
CONFIG_TOKEN_AUTHENTICATOR
- See Also:
-
CONFIG_TOKEN_CONNECTOR
- See Also:
-
CONFIG_TOKEN_RECORD
- See Also:
-
TOKEN_STATE_CHANGE
- See Also:
-
AUTHORITY_CONFIG
- See Also:
-
AUDIT_LOG_SIGNING
- See Also:
-
-
Constructor Details
-
AuditEvent
public AuditEvent() -
AuditEvent
Constructs a message event- Parameters:
msgFormat
- the message string
-
AuditEvent
Constructs a message with a parameter. For example,new AuditEvent("failed to load {0}", fileName);
- Parameters:
msgFormat
- details in message string formatparam
- message string parameter
-
AuditEvent
Constructs a message from an exception. It can be used to carry a system exception that may contain information about the context. For example,try { ... } catch (IOExeption e) { logHandler.log(new AuditEvent("Encountered System Error {0}", e); }
- Parameters:
msgFormat
- exception details in message string formatexception
- system exception
-
AuditEvent
Constructs a message from a base exception. This will use the msgFormat from the exception itself.try { ... } catch (Exception e) { logHandler.log(new AuditEvent(e)); }
- Parameters:
e
- CMS exception
-
AuditEvent
Constructs a message event with a list of parameters that will be substituted into the message format.- Parameters:
msgFormat
- message string formatparams
- list of message format parameters
-