public interface Auditor
| Modifier and Type | Method and Description |
|---|---|
void |
audit(CorrelationContext correlationContext,
AuditContext auditContext,
String action,
String resourceName,
String resourceType,
String outcome,
String message)
Records a single audit event.
|
void |
audit(String action,
String resourceName,
String resourceType,
String outcome)
Records a single audit event using context information associated with the current thread.
|
void |
audit(String action,
String resourceName,
String resourceType,
String outcome,
String message)
Records a single audit event using context information associated with the current thread.
|
String |
getAuditorName()
The auditor name established when the Auditor was acquired.
|
String |
getComponentName()
The component name established when the Auditor was acquired.
|
String |
getServiceName()
The service name established when the Auditor was acquired.
|
void audit(CorrelationContext correlationContext, AuditContext auditContext, String action, String resourceName, String resourceType, String outcome, String message)
correlationContext - The explicit correlation context to use when recording this audit event. May not be null.auditContext - The explicit audit context to use when recording this audit event. May not be null.action - The action being recorded for this audit event. May not be null.resourceName - The resource identifier to record for this audit event. May not be null.resourceType - The resource type to record for this audit event. May not be null.outcome - The outcome to record for this audit event. Typically the result of a authorization check. May not be null.message - An arbitrary message to record with the audit event. May be null.void audit(String action, String resourceName, String resourceType, String outcome, String message)
action - The action being recorded for this audit event. May not be null.resourceName - The resource identifier to record for this audit event. May not be null.resourceType - The resource type to record for this audit event. May not be null.outcome - The outcome to record for this audit event. Typically the result of a authorization check. May not be null.message - An arbitrary message to record with the audit event. May be null.void audit(String action, String resourceName, String resourceType, String outcome)
action - The action being recorded for this audit event. May not be null.resourceName - The resource identifier to record for this audit event. May not be null.resourceType - The resource type to record for this audit event. May not be null.outcome - The outcome to record for this audit event. Typically the result of a authorization check. May not be null.String getServiceName()
String getComponentName()
String getAuditorName()
Copyright © 2022 The Apache Software Foundation. All rights reserved.