public interface Auditor
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnabled()
Check if auditing is enabled to this component.
|
boolean |
isEnabled(java.lang.String eventType, boolean eventStatus, java.util.Map<java.lang.String,java.lang.Object> properties)
Deprecated.
use isEnabled(String categoryName, String eventType, boolean eventStatus, Map<String, Object> properties)
|
boolean |
isEnabled(java.lang.String categoryName, java.lang.String eventType, boolean eventStatus, java.util.Map<java.lang.String,java.lang.Object> properties)
This method is used to do a quick check to see if an event with the given cateory name, event type, event status and additional properties would be logged to the audit repository.
|
boolean |
log(AuditEvent ev)
Log an audit event.
|
void |
reloadConfiguration()
Reload the Auditor to detect Configuration changes
|
void |
shutdown()
Shutdown will close the busstop file.
|
boolean log(AuditEvent ev) throws AuditException
ev - the event to be loggedAuditException
boolean isEnabled(java.lang.String eventType,
boolean eventStatus,
java.util.Map<java.lang.String,java.lang.Object> properties)
throws AuditException
eventType - type of eventeventStatus - status of event - success or failureproperties - additional attributesAuditException
boolean isEnabled(java.lang.String categoryName,
java.lang.String eventType,
boolean eventStatus,
java.util.Map<java.lang.String,java.lang.Object> properties)
throws AuditException
categoryName - the name of event categoryeventType - type of eventeventStatus - status of event - success or failureproperties - additional attributesAuditExceptionboolean isEnabled()
void reloadConfiguration()
throws AuditException
AuditException
void shutdown()
throws AuditException
AuditException