Class EmbedAuditService

  • All Implemented Interfaces:
    AuditService

    public class EmbedAuditService
    extends java.lang.Object
    implements AuditService
    The embedded audit service.
    Since:
    2.0.0
    Author:
    Lijun Liao (xipki)
    • Constructor Detail

      • EmbedAuditService

        public EmbedAuditService()
    • Method Detail

      • init

        public void init​(org.xipki.util.ConfPairs conf)
                  throws org.xipki.util.exception.InvalidConfException
        Specified by:
        init in interface AuditService
        Throws:
        org.xipki.util.exception.InvalidConfException
      • logEvent

        public void logEvent​(AuditEvent event)
        Description copied from interface: AuditService
        Log audit event.
        Specified by:
        logEvent in interface AuditService
        Parameters:
        event - Audit event. Must not be null-
      • logEvent

        public void logEvent​(PciAuditEvent event)
        Description copied from interface: AuditService
        Log PCI audit event.
        Specified by:
        logEvent in interface AuditService
        Parameters:
        event - Audit event. Must not be null-
      • storeLog

        protected void storeLog​(int eventType,
                                AuditLevel level,
                                java.lang.String message)
      • close

        public void close()
                   throws java.lang.Exception
        Specified by:
        close in interface AuditService
        Throws:
        java.lang.Exception