public final class AuditEventHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ARRAY_TYPE
Json array value type.
|
static String |
BOOLEAN_TYPE
Json boolean value type.
|
static String |
NUMBER_TYPE
Json number value type.
|
static String |
OBJECT_TYPE
Json Object value type.
|
static String |
STRING_TYPE
Json String value type.
|
Modifier and Type | Method and Description |
---|---|
static String |
dotNotationToJsonPointer(String fieldName)
Converts dotted-path field identifier to JsonPointer form.
|
static JsonValue |
getAuditEventProperties(JsonValue auditEvent)
Gets the Audit Event schema properties.
|
static JsonValue |
getAuditEventSchema(JsonValue auditEvent)
Gets the Audit Event schema.
|
static List<String> |
getConfiguredAuditEventHandlers(JsonValue auditEvent)
Gets the AuditEventHandlers that the audit event is configure to log to.
|
static String |
getPropertyType(JsonValue auditEvent,
JsonPointer property)
Gets a AuditEvent property type.
|
static boolean |
isPropertyRequired(JsonValue auditEvent,
JsonPointer property)
Gets whether a AuditEvent property is required.
|
static String |
jsonPointerToDotNotation(String fieldName)
Converts JsonPointer field identifier to dotted-path form.
|
public static final String STRING_TYPE
public static final String OBJECT_TYPE
public static final String BOOLEAN_TYPE
public static final String NUMBER_TYPE
public static final String ARRAY_TYPE
public static boolean isPropertyRequired(JsonValue auditEvent, JsonPointer property)
auditEvent
- the audit event to get the property of.property
- the property to check if required.public static String getPropertyType(JsonValue auditEvent, JsonPointer property) throws ResourceException
auditEvent
- the audit event to get the property of.property
- the property to check if required.ResourceException
- if the property is unknownpublic static List<String> getConfiguredAuditEventHandlers(JsonValue auditEvent)
auditEvent
- the audit event JsonValue definition.public static JsonValue getAuditEventProperties(JsonValue auditEvent) throws ResourceException
auditEvent
- the audit event JsonValue definition.ResourceException
- if no audit event is definedpublic static JsonValue getAuditEventSchema(JsonValue auditEvent) throws ResourceException
auditEvent
- the audit event JsonValue definition.ResourceException
- if no audit event is definedpublic static String jsonPointerToDotNotation(String fieldName)
fieldName
- The JsonPointer reference to a field within a JSON object.Copyright © 2025 Open Identity Platform Community. All rights reserved.