use of com.evolveum.midpoint.xml.ns._public.common.common_3.ScriptExpressionProfileType in project midpoint by Evolveum.
the class ExpressionProfileCompiler method compileEvaluatorProfile.
private ExpressionEvaluatorProfile compileEvaluatorProfile(ExpressionEvaluatorProfileType evaluatorType, List<ExpressionPermissionProfile> permissionProfiles) throws SchemaException {
ExpressionEvaluatorProfile profile = new ExpressionEvaluatorProfile(evaluatorType.getType());
profile.setDecision(AccessDecision.translate(evaluatorType.getDecision()));
for (ScriptExpressionProfileType scriptType : evaluatorType.getScript()) {
profile.add(compileScriptProfile(scriptType, permissionProfiles));
}
return profile;
}
Aggregations