Package io.helidon.security.spi
Interface AuditProvider.AuditSource
-
- Enclosing interface:
- AuditProvider
public static interface AuditProvider.AuditSource
Source of an audit source (as in "where this audit event originated").
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default Optional<String>
className()
Name of the class that caused this event.static AuditProvider.AuditSource
create()
Build an audit source.default Optional<String>
fileName()
File name of the source that caused this event.static boolean
isSecurityClass(StackTraceElement element)
default OptionalInt
lineNumber()
Line number within the source file that caused this event.default Optional<String>
methodName()
Method name that caused this event.
-
-
-
Method Detail
-
create
static AuditProvider.AuditSource create()
Build an audit source.- Returns:
- AuditSource for current stack trace
-
isSecurityClass
static boolean isSecurityClass(StackTraceElement element)
-
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
-
-