use of com.evolveum.midpoint.xml.ns._public.common.common_3.PolicyActionsType in project midpoint by Evolveum.
the class PolicyRuleEnforcerHook method isEnforce.
private boolean isEnforce(EvaluatedPolicyRule policyRule) {
PolicyActionsType actions = policyRule.getActions();
if (actions == null) {
// enforce is NO LONGER the default
return false;
}
EnforcementPolicyActionType enforcement = actions.getEnforcement();
if (enforcement == null) {
return false;
}
return true;
}
Aggregations