Interface AuditPublisher


public interface AuditPublisher
Safe audit publisher exposed to application lifecycle code.

Implementations must redact sensitive data before events leave the middleware process. The default first-slice implementation records no secrets and is thread-safe when supplied by the deployer.

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a no-op publisher.
    void
    publish(String action, Map<String,String> details)
    Publishes an application audit event.
  • Method Details

    • publish

      void publish(String action, Map<String,String> details)
      Publishes an application audit event.
      Parameters:
      action - action name
      details - safe details
    • noop

      static AuditPublisher noop()
      Returns a no-op publisher.
      Returns:
      no-op publisher