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 String |
AUDIT_TYPE_PREFIX |
Reserved event type prefix for audit events.
|
static String |
AUTHN_TYPE_PREFIX |
Reserved event type prefix for authentication events.
|
static String |
AUTHZ_TYPE_PREFIX |
Reserved event type prefix for authorization events.
|
static String |
OUTBOUND_TYPE_PREFIX |
Reserved event type prefix for outbound security (such as identity propagation) events.
|
static String |
SECURITY_TYPE_PREFIX |
Reserved event type prefix for security component.
|
| Modifier and Type | Method | Description |
|---|---|---|
String |
getEventType() |
Gets the type of this
AuditEvent. |
String |
getMessageFormat() |
Gets the message format of this
AuditEvent to be used with
String.format(String, Object...). |
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. |
Optional<Throwable> |
getThrowable() |
Gets an
Throwable object from which additional audit information
can be obtained. |
static final String SECURITY_TYPE_PREFIX
static final String AUTHN_TYPE_PREFIX
static final String AUTHZ_TYPE_PREFIX
static final String OUTBOUND_TYPE_PREFIX
static final String AUDIT_TYPE_PREFIX
String getEventType()
AuditEvent.AuditEvent represented as String.Optional<Throwable> getThrowable()
Throwable object from which additional audit information
can be obtained.Throwable with additional information if available.List<AuditEvent.AuditParam> getParams()
String.format(String, Object...)
when creating the audit message.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.