Class PolicyRuleEnforcer
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.lens.projector.policy.PolicyRuleEnforcer
-
@Component public class PolicyRuleEnforcer extends Object
Code used to enforce the policy rules that have the enforce action. Originally this was a regular ChangeHook. However, when invoked among other hooks, it is too late (see MID-4797). So we had to convert it into regular code. Some parts still carry this history, until properly rewritten (MID-4798).- Author:
- semancik
-
-
Constructor Summary
Constructors Constructor Description PolicyRuleEnforcer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <O extends ObjectType>
voidexecute(@NotNull ModelContext<O> context)
-
-
-
Method Detail
-
execute
public <O extends ObjectType> void execute(@NotNull @NotNull ModelContext<O> context) throws PolicyViolationException
- Throws:
PolicyViolationException
-
-