Package io.helidon.security.spi
Interface AuditProvider.TracedAuditEvent
-
- All Superinterfaces:
AuditEvent
- Enclosing interface:
- AuditProvider
public static interface AuditProvider.TracedAuditEvent extends AuditEvent
Audit event sent to Audit provider. Wraps tracing id and AuditEvent sent by a component/user.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.helidon.security.AuditEvent
AuditEvent.AuditParam, AuditEvent.AuditSeverity
-
-
Field Summary
-
Fields inherited from interface io.helidon.security.AuditEvent
AUDIT_TYPE_PREFIX, AUTHN_TYPE_PREFIX, AUTHZ_TYPE_PREFIX, OUTBOUND_TYPE_PREFIX, SECURITY_TYPE_PREFIX
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AuditProvider.AuditSource
auditSource()
Source of this audit event (class, method, line number etc.).default String
formatMessage()
Creates a formatted message from this events message format and parameters.String
tracingId()
Tracing id of the current audit event, generated by SecurityContext.-
Methods inherited from interface io.helidon.security.AuditEvent
eventType, messageFormat, params, severity, throwable
-
-
-
-
Method Detail
-
tracingId
String tracingId()
Tracing id of the current audit event, generated by SecurityContext.- Returns:
- String with tracing id
-
auditSource
AuditProvider.AuditSource auditSource()
Source of this audit event (class, method, line number etc.).- Returns:
- Source of the audit event
-
formatMessage
default String formatMessage()
Creates a formatted message from this events message format and parameters.- Returns:
- formatted message
-
-