public interface AuditEvent
SecurityContext.audit(AuditEvent),
AuditProvider| Modifier and Type | Interface and Description |
|---|---|
static class |
AuditEvent.AuditParam
Named parameters of audit event.
|
static class |
AuditEvent.AuditSeverity
Severity of
AuditEvent. |
| Modifier and Type | Field and 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 and Description |
|---|---|
String |
eventType()
Gets the type of this
AuditEvent. |
String |
messageFormat()
Gets the message format of this
AuditEvent to be used with
String.format(String, Object...). |
List<AuditEvent.AuditParam> |
params()
Parameters of this audit event, used in
String.format(String, Object...)
when creating the audit message. |
AuditEvent.AuditSeverity |
severity()
Gets the severity of this
AuditEvent. |
Optional<Throwable> |
throwable()
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 eventType()
AuditEvent.AuditEvent represented as String.Optional<Throwable> throwable()
Throwable object from which additional audit information
can be obtained.Throwable with additional information if available.List<AuditEvent.AuditParam> params()
String.format(String, Object...)
when creating the audit message.String messageFormat()
AuditEvent to be used with
String.format(String, Object...).AuditEvent.AuditSeverity severity()
AuditEvent.Copyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.