- Enclosing interface:
AuditProvider
public static interface AuditProvider.AuditSource
Source of an audit source (as in "where this audit event originated").
-
Method Summary
Modifier and TypeMethodDescriptionName of the class that caused this event.static AuditProvider.AuditSource
create()
Build an audit source.fileName()
File name of the source that caused this event.static boolean
isSecurityClass
(StackWalker.StackFrame element) Check if the stack element is an actual Helidon Security class.default OptionalInt
Line number within the source file that caused this event.Method name that caused this event.
-
Method Details
-
create
Build an audit source.- Returns:
- AuditSource for current stack trace
-
isSecurityClass
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
Name of the class that caused this event.- Returns:
- class name or empty if not provided
-
methodName
Method name that caused this event.- Returns:
- method name or empty if not provided
-
fileName
File name of the source that caused this event.- Returns:
- file name or empty if not provided
-
lineNumber
Line number within the source file that caused this event.- Returns:
- line number or empty if not provided
-