Package org.xipki.audit
Interface AuditService
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
EmbedAuditService,FileMacAuditService,MacAuditService,NoopAuditService
public interface AuditService extends AutoCloseable
Audit service interface.- Since:
- 2.0.0
- Author:
- Lijun Liao (xipki)
-
-
Field Summary
Fields Modifier and Type Field Description static intAUDIT_EVENTstatic intPCI_AUDIT_EVENT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinit(String conf)voidinit(String conf, org.xipki.password.PasswordResolver passwordResolver)voidlogEvent(AuditEvent event)Log audit event.voidlogEvent(PciAuditEvent event)Log PCI audit event.-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Field Detail
-
AUDIT_EVENT
static final int AUDIT_EVENT
- See Also:
- Constant Field Values
-
PCI_AUDIT_EVENT
static final int PCI_AUDIT_EVENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
void init(String conf)
-
init
void init(String conf, org.xipki.password.PasswordResolver passwordResolver) throws org.xipki.password.PasswordResolverException, org.xipki.util.exception.InvalidConfException
- Throws:
org.xipki.password.PasswordResolverExceptionorg.xipki.util.exception.InvalidConfException- Since:
- 6.0.0
-
logEvent
void logEvent(AuditEvent event)
Log audit event.- Parameters:
event- Audit event. Must not benull-
-
logEvent
void logEvent(PciAuditEvent event)
Log PCI audit event.- Parameters:
event- Audit event. Must not benull-
-
-