Class AuditHelper
java.lang.Object
com.evolveum.midpoint.repo.common.AuditHelper
Uses cache repository service to resolve object names.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addRecordMessage
(AuditEventRecord auditRecord, String message) Adds a message to the record by pulling the messages from individual delta results.void
audit
(AuditEventRecord record, ObjectDeltaSchemaLevelUtil.NameResolver externalNameResolver, Task task, OperationResult parentResult) void
evaluateAuditRecordProperty
(SystemConfigurationAuditEventRecordingPropertyType propertyDef, AuditEventRecord auditRecord, PrismObject<? extends ObjectType> primaryObject, ExpressionProfile expressionProfile, Task task, OperationResult parentResult) evaluateRecordingExpression
(ExpressionType expression, AuditEventRecord auditRecord, PrismObject<? extends ObjectType> primaryObject, ExpressionProfile expressionProfile, ExpressionEnvironmentSupplier expressionEnvironmentSupplier, Task task, OperationResult parentResult)
-
Constructor Details
-
AuditHelper
public AuditHelper()
-
-
Method Details
-
audit
public void audit(AuditEventRecord record, ObjectDeltaSchemaLevelUtil.NameResolver externalNameResolver, Task task, OperationResult parentResult) - Parameters:
externalNameResolver
- Name resolver that should be tried first. It should be fast. If it returns null it means "I don't know".
-
evaluateRecordingExpression
public AuditEventRecord evaluateRecordingExpression(ExpressionType expression, AuditEventRecord auditRecord, PrismObject<? extends ObjectType> primaryObject, ExpressionProfile expressionProfile, ExpressionEnvironmentSupplier expressionEnvironmentSupplier, Task task, OperationResult parentResult) -
evaluateAuditRecordProperty
public void evaluateAuditRecordProperty(SystemConfigurationAuditEventRecordingPropertyType propertyDef, AuditEventRecord auditRecord, PrismObject<? extends ObjectType> primaryObject, ExpressionProfile expressionProfile, Task task, OperationResult parentResult) -
getAuditConfiguration
-
cloneResultForAuditEventRecord
-
addRecordMessage
Adds a message to the record by pulling the messages from individual delta results.
-