Interface AuditProvider.AuditSource

Enclosing interface:
AuditProvider

public static interface AuditProvider.AuditSource
Source of an audit source (as in "where this audit event originated").
  • Method Details

    • create

      static AuditProvider.AuditSource create()
      Build an audit source.
      Returns:
      AuditSource for current stack trace
    • isSecurityClass

      static boolean isSecurityClass(StackWalker.StackFrame element)
      Check if the stack element is an actual Helidon Security class.
      Parameters:
      element - element to check
      Returns:
      true if the class comes from Helidon Security
    • className

      default Optional<String> className()
      Name of the class that caused this event.
      Returns:
      class name or empty if not provided
    • methodName

      default Optional<String> methodName()
      Method name that caused this event.
      Returns:
      method name or empty if not provided
    • fileName

      default Optional<String> fileName()
      File name of the source that caused this event.
      Returns:
      file name or empty if not provided
    • lineNumber

      default OptionalInt lineNumber()
      Line number within the source file that caused this event.
      Returns:
      line number or empty if not provided