AuditProvider.TracedAuditEventpublic interface AuditEvent
SecurityContext.audit(AuditEvent),
AuditProvider| Modifier and Type | Interface | Description |
|---|---|---|
static class |
AuditEvent.AuditParam |
Named parameters of audit event.
|
static class |
AuditEvent.AuditSeverity |
Severity of
AuditEvent. |
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
AUDIT_TYPE_PREFIX |
Reserved event type prefix for audit events.
|
static java.lang.String |
AUTHN_TYPE_PREFIX |
Reserved event type prefix for authentication events.
|
static java.lang.String |
AUTHZ_TYPE_PREFIX |
Reserved event type prefix for authorization events.
|
static java.lang.String |
OUTBOUND_TYPE_PREFIX |
Reserved event type prefix for outbound security (such as identity propagation) events.
|
static java.lang.String |
SECURITY_TYPE_PREFIX |
Reserved event type prefix for security component.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getEventType() |
Gets the type of this
AuditEvent. |
java.lang.String |
getMessageFormat() |
Gets the message format of this
AuditEvent to be used with
String.format(String, Object...). |
java.util.List<AuditEvent.AuditParam> |
getParams() |
Parameters of this audit event, used in
String.format(String, Object...)
when creating the audit message. |
AuditEvent.AuditSeverity |
getSeverity() |
Gets the severity of this
AuditEvent. |
java.util.Optional<java.lang.Throwable> |
getThrowable() |
Gets an
Throwable object from which additional audit information
can be obtained. |
static final java.lang.String SECURITY_TYPE_PREFIX
static final java.lang.String AUTHN_TYPE_PREFIX
static final java.lang.String AUTHZ_TYPE_PREFIX
static final java.lang.String OUTBOUND_TYPE_PREFIX
static final java.lang.String AUDIT_TYPE_PREFIX
java.lang.String getEventType()
AuditEvent.AuditEvent represented as String.java.util.Optional<java.lang.Throwable> getThrowable()
Throwable object from which additional audit information
can be obtained.Throwable with additional information if available.java.util.List<AuditEvent.AuditParam> getParams()
String.format(String, Object...)
when creating the audit message.java.lang.String getMessageFormat()
AuditEvent to be used with
String.format(String, Object...).AuditEvent.AuditSeverity getSeverity()
AuditEvent.Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.