Interface AuditingContext

    • Method Detail

      • getAuditProfile

        @Nonnull
        java.util.Optional<AuditProfile> getAuditProfile()
        Returns:
        an Optional containing the AuditProfile for this context or an empty Optional if no audit profile is set
      • audit

        default void audit​(java.lang.String actionName,
                           java.lang.String actionTarget,
                           java.lang.String actionValue)
        Create a new audit log record if an audit profile is set in this context
        Parameters:
        actionName - the audited action's name
        actionTarget - the audited action's target
        actionValue - the audited action's value