Class SchemaTransformer
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.controller.SchemaTransformer
-
@Component public class SchemaTransformer extends Object
Transforms the schema and objects by applying security constraints, object template schema refinements, etc.- Author:
- semancik
-
-
Constructor Summary
Constructors Constructor Description SchemaTransformer()
-
Method Summary
-
-
-
Method Detail
-
applySchemasAndSecurityToObjectTypes
public <T extends ObjectType> void applySchemasAndSecurityToObjectTypes(List<T> objectTypes, GetOperationOptions rootOptions, Collection<SelectorOptions<GetOperationOptions>> options, AuthorizationPhaseType phase, Task task, OperationResult result) throws SecurityViolationException, SchemaException, ConfigurationException, ObjectNotFoundException, ExpressionEvaluationException, CommunicationException
-
applySecurityConstraints
public <D extends ItemDefinition> void applySecurityConstraints(D itemDefinition, ObjectSecurityConstraints securityConstraints, AuthorizationPhaseType phase)
The variant of `applySecurityConstraints` for aItemDefinition
.
-
computeItemDecision
@Contract("_, _, _, !null, _ -> !null") public AuthorizationDecisionType computeItemDecision(ObjectSecurityConstraints securityConstraints, ItemPath nameOnlyItemPath, String[] actionUrls, AuthorizationDecisionType defaultDecision, AuthorizationPhaseType phase)
-
determineObjectTemplate
public <O extends ObjectType> ObjectTemplateType determineObjectTemplate(PrismObject<O> object, AuthorizationPhaseType phase, OperationResult result) throws SchemaException, ConfigurationException, ObjectNotFoundException
-
determineObjectTemplate
public <O extends ObjectType> ObjectTemplateType determineObjectTemplate(Class<O> objectClass, AuthorizationPhaseType phase, OperationResult result) throws SchemaException, ConfigurationException, ObjectNotFoundException
-
transformableDefinition
public <O extends Objectable> TransformableObjectDefinition<O> transformableDefinition(PrismObjectDefinition<O> definition)
-
-