Interface AuditProvider.TracedAuditEvent

  • All Superinterfaces:
    AuditEvent
    Enclosing interface:
    AuditProvider

    public static interface AuditProvider.TracedAuditEvent
    extends AuditEvent
    Audit event sent to Audit provider. Wraps tracing id and AuditEvent sent by a component/user.
    • Method Detail

      • tracingId

        String tracingId()
        Tracing id of the current audit event, generated by SecurityContext.
        Returns:
        String with tracing id
      • auditSource

        AuditProvider.AuditSource auditSource()
        Source of this audit event (class, method, line number etc.).
        Returns:
        Source of the audit event
      • formatMessage

        default String formatMessage()
        Creates a formatted message from this events message format and parameters.
        Returns:
        formatted message