Package org.forgerock.openam.audit
Class AuditConstants
- java.lang.Object
-
- org.forgerock.openam.audit.AuditConstants
-
public final class AuditConstants extends Object
Collection of constants related to auditing.- Since:
- 13.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuditConstants.AuthenticationFailureReasonPredefined values for the entries in the authentication audit "entries/info/failureReason" field.static classAuditConstants.ComponentPredefined components for audit events.static classAuditConstants.ConfigOperationPredefined operations for configuration events.static classAuditConstants.EntriesInfoFieldKeyPredefined keys for the entries in the authentication audit "entries/info" field.static classAuditConstants.EventNamePredefined names for audit events.static classAuditConstants.TrackingIdKeyPredefined tracking ID types.
-
Field Summary
Fields Modifier and Type Field Description static StringACCESS_RESPONSE_DETAIL_REASONThe field name to use when adding a "reason" string to the /response/detail object of an access event.static StringACCESS_TOPICThe topic to which events built usingAMAccessAuditEventBuildershould be routed.static StringACTIVITY_TOPICThe topic to which events built usingAMActivityAuditEventBuildershould be routed.static StringAUTHENTICATION_TOPICThe topic to which events built usingAMAuthenticationAuditEventBuildershould be routed.static StringCONFIG_TOPICThe topic to which events built usingAMConfigAuditEventBuildershould be routed.static StringDEBUG_NAMEName of theDebuginstance.static StringEVENT_REALMNames of the realm field on an audit event.static StringLOGIN_MODULE_CONTROL_FLAGKey for the login module control flag that can be addedAuditRequestContext.static StringNO_REALMTo access the default audit service viaAuditEventFactory.accessEvent(String)andAuditEventPublisher.isAuditing(String, String, EventName)you can provide null or an empty string.static StringOAUTH2_AUDIT_CONTEXT_PROVIDERSThe OAuth2 audit context providers, responsible for finding details which can be audit logged from various tokens which may be attached to requests and/or responses.static StringSERVICE_NAMESMS service name for the audit service.static StringUSER_IDNames of fields on an audit events.
-
-
-
Field Detail
-
ACCESS_TOPIC
public static final String ACCESS_TOPIC
The topic to which events built usingAMAccessAuditEventBuildershould be routed.- See Also:
- Constant Field Values
-
ACTIVITY_TOPIC
public static final String ACTIVITY_TOPIC
The topic to which events built usingAMActivityAuditEventBuildershould be routed.- See Also:
- Constant Field Values
-
CONFIG_TOPIC
public static final String CONFIG_TOPIC
The topic to which events built usingAMConfigAuditEventBuildershould be routed.- See Also:
- Constant Field Values
-
AUTHENTICATION_TOPIC
public static final String AUTHENTICATION_TOPIC
The topic to which events built usingAMAuthenticationAuditEventBuildershould be routed.- See Also:
- Constant Field Values
-
SERVICE_NAME
public static final String SERVICE_NAME
SMS service name for the audit service.- See Also:
- Constant Field Values
-
DEBUG_NAME
public static final String DEBUG_NAME
Name of theDebuginstance.- See Also:
- Constant Field Values
-
USER_ID
public static final String USER_ID
Names of fields on an audit events.- See Also:
- Constant Field Values
-
EVENT_REALM
public static final String EVENT_REALM
Names of the realm field on an audit event.- See Also:
- Constant Field Values
-
NO_REALM
public static final String NO_REALM
To access the default audit service viaAuditEventFactory.accessEvent(String)andAuditEventPublisher.isAuditing(String, String, EventName)you can provide null or an empty string. We deliberately do not provide a convenience method with no realm to force implementers to consider providing the realm.
-
OAUTH2_AUDIT_CONTEXT_PROVIDERS
public static final String OAUTH2_AUDIT_CONTEXT_PROVIDERS
The OAuth2 audit context providers, responsible for finding details which can be audit logged from various tokens which may be attached to requests and/or responses.- See Also:
- Constant Field Values
-
ACCESS_RESPONSE_DETAIL_REASON
public static final String ACCESS_RESPONSE_DETAIL_REASON
The field name to use when adding a "reason" string to the /response/detail object of an access event.- See Also:
- Constant Field Values
-
LOGIN_MODULE_CONTROL_FLAG
public static final String LOGIN_MODULE_CONTROL_FLAG
Key for the login module control flag that can be addedAuditRequestContext.- See Also:
- Constant Field Values
-
-