public class EmbedAuditService extends Object implements AuditService
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_FILE |
static String |
KEY_SIZE |
AUDIT_EVENT, PCI_AUDIT_EVENT| Constructor and Description |
|---|
EmbedAuditService() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
init(String conf) |
void |
init(String conf,
org.xipki.password.PasswordResolver passwordResolver) |
void |
logEvent(AuditEvent event)
Log audit event.
|
void |
logEvent(PciAuditEvent event)
Log PCI audit event.
|
protected void |
storeLog(int eventType,
AuditLevel level,
String message) |
public static final String KEY_FILE
public static final String KEY_SIZE
public void init(String conf)
init in interface AuditServicepublic void init(String conf, org.xipki.password.PasswordResolver passwordResolver) throws org.xipki.password.PasswordResolverException, org.xipki.util.exception.InvalidConfException
init in interface AuditServiceorg.xipki.password.PasswordResolverExceptionorg.xipki.util.exception.InvalidConfExceptionpublic void logEvent(AuditEvent event)
AuditServicelogEvent in interface AuditServiceevent - Audit event. Must not be null-public void logEvent(PciAuditEvent event)
AuditServicelogEvent in interface AuditServiceevent - Audit event. Must not be null-protected void storeLog(int eventType,
AuditLevel level,
String message)
public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2022. All rights reserved.