Uses of Class
com.evolveum.midpoint.util.exception.PolicyViolationException
-
-
Uses of PolicyViolationException in com.evolveum.midpoint.model.api
Methods in com.evolveum.midpoint.model.api that throw PolicyViolationException Modifier and Type Method Description void
AccessCertificationService. closeCurrentStage(String campaignOid, Task task, OperationResult parentResult)
Opens the next stage in the certification campaign.void
CaseService. completeWorkItem(@NotNull WorkItemId workItemId, @NotNull AbstractWorkItemOutputType output, @NotNull Task task, @NotNull OperationResult parentResult)
Completes a work item (e.g.AccessCertificationCampaignType
AccessCertificationService. createCampaign(String definitionOid, Task task, OperationResult parentResult)
Creates a certification campaign: creates AccessCertificationCampaignType object, based on general information in certification definition.default Collection<ObjectDeltaOperation<? extends ObjectType>>
ModelService. executeChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, OperationResult result)
Execute the provided object deltas.Collection<ObjectDeltaOperation<? extends ObjectType>>
ModelService. executeChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, Collection<ProgressListener> listeners, OperationResult parentResult)
ExecuteCredentialResetResponseType
ModelInteractionService. executeCredentialsReset(PrismObject<UserType> user, ExecuteCredentialResetRequestType executeCredentialResetRequest, Task task, OperationResult result)
<O extends ObjectType>
voidModelInteractionService. generateValue(PrismObject<O> object, PolicyItemsDefinitionType policyItemsDefinition, Task task, OperationResult parentResult)
<O extends ObjectType>
Collection<ObjectDeltaOperation<? extends ObjectType>>ModelService. mergeObjects(Class<O> type, String leftOid, String rightOid, String mergeConfigurationName, Task task, OperationResult result)
Merge two objects into one.void
AccessCertificationService. openNextStage(String campaignOid, Task task, OperationResult parentResult)
Opens the next review stage in the certification campaign.<F extends ObjectType>
ModelContext<F>ModelInteractionService. previewChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, OperationResult result)
Computes the most likely changes triggered by the provided delta.<F extends ObjectType>
ModelContext<F>ModelInteractionService. previewChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, Collection<ProgressListener> listeners, OperationResult result)
<F extends ObjectType>
voidModelService. recompute(Class<F> type, String oid, ModelExecuteOptions options, Task task, OperationResult parentResult)
Recomputes focal object with the specified OID.@NotNull TaskType
ModelInteractionService. submitTaskFromTemplate(String templateTaskOid, List<Item<?,?>> extensionItems, Task opTask, OperationResult result)
@NotNull TaskType
ModelInteractionService. submitTaskFromTemplate(String templateTaskOid, Map<QName,Object> extensionValues, Task opTask, OperationResult result)
<O extends ObjectType>
voidModelInteractionService. validateValue(PrismObject<O> object, PolicyItemsDefinitionType policyItemsDefinition, Task task, OperationResult parentResult)
<O extends ObjectType>
List<StringLimitationResult>ModelInteractionService. validateValue(ProtectedStringType protectedStringValue, ValuePolicyType pp, PrismObject<O> object, Task task, OperationResult parentResult)
-
Uses of PolicyViolationException in com.evolveum.midpoint.model.api.expr
Methods in com.evolveum.midpoint.model.api.expr that throw PolicyViolationException Modifier and Type Method Description <T extends ObjectType>
StringMidpointFunctions. addObject(PrismObject<T> newObject)
<T extends ObjectType>
StringMidpointFunctions. addObject(PrismObject<T> newObject, ModelExecuteOptions options)
<T extends ObjectType>
StringMidpointFunctions. addObject(T newObject)
<T extends ObjectType>
StringMidpointFunctions. addObject(T newObject, ModelExecuteOptions options)
<T extends ObjectType>
voidMidpointFunctions. deleteObject(Class<T> type, String oid)
<T extends ObjectType>
voidMidpointFunctions. deleteObject(Class<T> type, String oid, ModelExecuteOptions options)
void
MidpointFunctions. executeChanges(ObjectDelta<? extends ObjectType>... deltas)
Execute the provided object deltas.void
MidpointFunctions. executeChanges(Collection<ObjectDelta<? extends ObjectType>> deltas)
Execute the provided object deltas.void
MidpointFunctions. executeChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options)
Execute the provided object deltas.TaskType
MidpointFunctions. executeChangesAsynchronously(Collection<ObjectDelta<?>> deltas, ModelExecuteOptions options, String templateTaskOid)
TaskType
MidpointFunctions. executeChangesAsynchronously(Collection<ObjectDelta<?>> deltas, ModelExecuteOptions options, String templateTaskOid, Task opTask, OperationResult result)
<T extends ObjectType>
voidMidpointFunctions. modifyObject(ObjectDelta<T> modifyDelta)
<T extends ObjectType>
voidMidpointFunctions. modifyObject(ObjectDelta<T> modifyDelta, ModelExecuteOptions options)
<F extends ObjectType>
ModelContext<F>MidpointFunctions. previewChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options)
<F extends ObjectType>
ModelContext<F>MidpointFunctions. previewChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, OperationResult result)
<F extends FocusType>
voidMidpointFunctions. recompute(Class<F> type, String oid)
Recomputes focal object with the specified OID.TaskType
MidpointFunctions. submitTaskFromTemplate(String templateTaskOid, List<Item<?,?>> extensionItems)
TaskType
MidpointFunctions. submitTaskFromTemplate(String templateTaskOid, Map<QName,Object> extensionValues)
-
Uses of PolicyViolationException in com.evolveum.midpoint.model.api.hooks
Methods in com.evolveum.midpoint.model.api.hooks that throw PolicyViolationException Modifier and Type Method Description <O extends ObjectType>
HookOperationModeChangeHook. invoke(@NotNull ModelContext<O> context, @NotNull Task task, @NotNull OperationResult result)
Generic method to be implemented by the hook. -
Uses of PolicyViolationException in com.evolveum.midpoint.model.api.util
Methods in com.evolveum.midpoint.model.api.util that throw PolicyViolationException Modifier and Type Method Description static void
ResourceUtils. deleteSchema(PrismObject<? extends ResourceType> resource, ModelService modelService, PrismContext prismContext, Task task, OperationResult parentResult)
-
Uses of PolicyViolationException in com.evolveum.midpoint.model.impl
Methods in com.evolveum.midpoint.model.impl that throw PolicyViolationException Modifier and Type Method Description <T extends ObjectType>
StringModelCrudService. addObject(PrismObject<T> object, ModelExecuteOptions options, Task task, OperationResult parentResult)
Add new object.<T extends ObjectType>
voidModelCrudService. deleteObject(Class<T> clazz, String oid, ModelExecuteOptions options, Task task, OperationResult parentResult)
Deletes object with specified OID.<T extends ObjectType>
voidModelCrudService. modifyObject(Class<T> type, String oid, Collection<? extends ItemDelta> modifications, ModelExecuteOptions options, Task task, OperationResult parentResult)
Modifies object using relative change description. -
Uses of PolicyViolationException in com.evolveum.midpoint.model.impl.controller
Methods in com.evolveum.midpoint.model.impl.controller that throw PolicyViolationException Modifier and Type Method Description Collection<ObjectDeltaOperation<? extends ObjectType>>
ModelController. executeChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, Collection<ProgressListener> statusListeners, OperationResult parentResult)
ExecuteCredentialResetResponseType
ModelInteractionServiceImpl. executeCredentialsReset(PrismObject<UserType> user, ExecuteCredentialResetRequestType executeCredentialResetRequest, Task task, OperationResult parentResult)
<O extends ObjectType>
voidModelInteractionServiceImpl. generateValue(PrismObject<O> object, PolicyItemsDefinitionType policyItemsDefinition, Task task, OperationResult parentResult)
<O extends ObjectType>
Collection<ObjectDeltaOperation<? extends ObjectType>>ModelController. mergeObjects(Class<O> type, String leftOid, String rightOid, String mergeConfigurationName, Task task, OperationResult parentResult)
<O extends ObjectType>
Collection<ObjectDeltaOperation<? extends ObjectType>>ObjectMerger. mergeObjects(Class<O> type, String leftOid, String rightOid, String mergeConfigurationName, Task task, OperationResult result)
<F extends ObjectType>
ModelContext<F>ModelInteractionServiceImpl. previewChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, OperationResult parentResult)
<F extends ObjectType>
ModelContext<F>ModelInteractionServiceImpl. previewChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, Collection<ProgressListener> listeners, OperationResult parentResult)
<F extends ObjectType>
voidModelController. recompute(Class<F> type, String oid, ModelExecuteOptions options, Task task, OperationResult parentResult)
@NotNull TaskType
ModelInteractionServiceImpl. submitTaskFromTemplate(String templateTaskOid, List<Item<?,?>> extensionItems, Task opTask, OperationResult parentResult)
@NotNull TaskType
ModelInteractionServiceImpl. submitTaskFromTemplate(String templateTaskOid, Map<QName,Object> extensionValues, Task opTask, OperationResult parentResult)
<O extends ObjectType>
voidModelInteractionServiceImpl. validateValue(PrismObject<O> object, PolicyItemsDefinitionType policyItemsDefinition, Task task, OperationResult parentResult)
<O extends ObjectType>
List<StringLimitationResult>ModelInteractionServiceImpl. validateValue(ProtectedStringType protectedStringValue, ValuePolicyType pp, PrismObject<O> object, Task task, OperationResult parentResult)
-
Uses of PolicyViolationException in com.evolveum.midpoint.model.impl.expr
Methods in com.evolveum.midpoint.model.impl.expr that throw PolicyViolationException Modifier and Type Method Description <T extends ObjectType>
StringMidpointFunctionsImpl. addObject(PrismObject<T> newObject)
<T extends ObjectType>
StringMidpointFunctionsImpl. addObject(PrismObject<T> newObject, ModelExecuteOptions options)
<T extends ObjectType>
StringMidpointFunctionsImpl. addObject(T newObject)
<T extends ObjectType>
StringMidpointFunctionsImpl. addObject(T newObject, ModelExecuteOptions options)
<T extends ObjectType>
voidMidpointFunctionsImpl. deleteObject(Class<T> type, String oid)
<T extends ObjectType>
voidMidpointFunctionsImpl. deleteObject(Class<T> type, String oid, ModelExecuteOptions options)
void
MidpointFunctionsImpl. executeChanges(ObjectDelta<? extends ObjectType>... deltas)
void
MidpointFunctionsImpl. executeChanges(Collection<ObjectDelta<? extends ObjectType>> deltas)
void
MidpointFunctionsImpl. executeChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options)
TaskType
MidpointFunctionsImpl. executeChangesAsynchronously(Collection<ObjectDelta<?>> deltas, ModelExecuteOptions options, String templateTaskOid)
TaskType
MidpointFunctionsImpl. executeChangesAsynchronously(Collection<ObjectDelta<?>> deltas, ModelExecuteOptions options, String templateTaskOid, Task opTask, OperationResult result)
<T extends ObjectType>
voidMidpointFunctionsImpl. modifyObject(ObjectDelta<T> modifyDelta)
<T extends ObjectType>
voidMidpointFunctionsImpl. modifyObject(ObjectDelta<T> modifyDelta, ModelExecuteOptions options)
<F extends ObjectType>
ModelContext<F>MidpointFunctionsImpl. previewChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options)
<F extends ObjectType>
ModelContext<F>MidpointFunctionsImpl. previewChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, OperationResult result)
<F extends FocusType>
voidMidpointFunctionsImpl. recompute(Class<F> type, String oid)
TaskType
MidpointFunctionsImpl. submitTaskFromTemplate(String templateTaskOid, List<Item<?,?>> extensionItems)
TaskType
MidpointFunctionsImpl. submitTaskFromTemplate(String templateTaskOid, Map<QName,Object> extensionValues)
-
Uses of PolicyViolationException in com.evolveum.midpoint.model.impl.lens
Methods in com.evolveum.midpoint.model.impl.lens that throw PolicyViolationException Modifier and Type Method Description static <F extends ObjectType>
voidLensUtil. checkContextSanity(LensContext<F> context, String activityDescription, OperationResult result)
<F extends ObjectType>
@NotNull HookOperationModeClockwork. click(@NotNull LensContext<F> context, @NotNull Task task, @NotNull OperationResult parentResult)
HookOperationMode
ClockworkClick. click(OperationResult parentResult)
<O extends ObjectType>
voidChangeExecutor. executeChanges(LensContext<O> context, Task task, OperationResult parentResult)
boolean
ClockworkMedic. partialExecute(String componentName, @Nullable ProjectorProcessor processor, ProjectionAwareProcessorMethodRef method, Supplier<PartialProcessingTypeType> optionSupplier, Class<?> executingClass, LensContext<?> context, LensProjectionContext projectionContext, String activityDescription, XMLGregorianCalendar now, Task task, OperationResult parentResult)
boolean
ClockworkMedic. partialExecute(String componentName, ProjectorProcessor processor, ProcessorMethodRef method, Supplier<PartialProcessingTypeType> optionSupplier, Class<?> executingClass, LensContext<?> context, @NotNull String activityDescription, XMLGregorianCalendar now, Task task, OperationResult parentResult)
boolean
ClockworkMedic. partialExecute(String componentName, ProjectorProcessor processor, SimplifiedProcessorMethodRef method, Supplier<PartialProcessingTypeType> optionSupplier, Class<?> executingClass, LensContext<?> context, XMLGregorianCalendar now, Task task, OperationResult parentResult)
void
ClockworkMedic. partialExecute(String baseComponentName, ProjectorComponentRunnable runnable, Supplier<PartialProcessingTypeType> optionSupplier, Class<?> executingClass, LensContext<?> context, LensProjectionContext projectionContext, OperationResult initialParentResult)
<F extends ObjectType>
LensContext<F>Clockwork. previewChanges(LensContext<F> context, Collection<ProgressListener> listeners, Task task, OperationResult result)
<F extends ObjectType>
HookOperationModeClockwork. run(LensContext<F> context, Task task, OperationResult parentResult)
void
ProjectorComponentRunnable. run(OperationResult result)
-
Uses of PolicyViolationException in com.evolveum.midpoint.model.impl.lens.assignments
Methods in com.evolveum.midpoint.model.impl.lens.assignments that throw PolicyViolationException Modifier and Type Method Description EvaluatedAssignmentImpl<AH>
AssignmentEvaluator. evaluate(ItemDeltaItem<PrismContainerValue<AssignmentType>,PrismContainerDefinition<AssignmentType>> assignmentIdi, PlusMinusZero primaryAssignmentMode, boolean evaluateOld, AssignmentHolderType source, String sourceDescription, AssignmentOrigin origin, Task task, OperationResult parentResult)
Main entry point: evaluates a given focus-attached (direct) assignment. -
Uses of PolicyViolationException in com.evolveum.midpoint.model.impl.lens.executor
Methods in com.evolveum.midpoint.model.impl.lens.executor that throw PolicyViolationException Modifier and Type Method Description void
FocusChangeExecution. execute(OperationResult parentResult)
void
ProjectionChangeExecution. execute(OperationResult parentResult)
-
Uses of PolicyViolationException in com.evolveum.midpoint.model.impl.lens.projector
Methods in com.evolveum.midpoint.model.impl.lens.projector that throw PolicyViolationException Modifier and Type Method Description <F extends FocusType>
voidProjectionValuesProcessor. process(LensContext<F> context, LensProjectionContext projectionContext, String activityDescription, XMLGregorianCalendar now, Task task, OperationResult result)
<F extends ObjectType>
voidProjector. project(@NotNull LensContext<F> context, @NotNull String activityDescription, @NotNull Task task, @NotNull OperationResult parentResult)
Runs one projection wave, starting at current execution wave.<F extends ObjectType>
voidProjector. projectAllWaves(LensContext<F> context, String activityDescription, Task task, OperationResult parentResult)
Executes projector from current execution wave to the last computed wave.<F extends ObjectType>
voidProjector. resume(LensContext<F> context, String activityDescription, Task task, OperationResult parentResult)
Resumes projection at current projection wave.<F extends ObjectType>
voidDependencyProcessor. sortProjectionsToWaves(LensContext<F> context, Task task, OperationResult parentResult)
-
Uses of PolicyViolationException in com.evolveum.midpoint.model.impl.lens.projector.credentials
Methods in com.evolveum.midpoint.model.impl.lens.projector.credentials that throw PolicyViolationException Modifier and Type Method Description void
CredentialPolicyEvaluator. process()
Main entry point.<F extends FocusType>
voidCredentialsProcessor. processFocusCredentials(LensContext<F> context, XMLGregorianCalendar now, Task task, OperationResult result)
<F extends FocusType>
voidProjectionCredentialsProcessor. processProjectionCredentials(LensContext<F> context, LensProjectionContext projectionContext, String activityDescription, XMLGregorianCalendar now, Task task, OperationResult result)
protected void
CredentialPolicyEvaluator. validateCredentialContainerValues(PrismContainerValue<R> cVal)
protected void
SecurityQuestionsPolicyEvaluator. validateCredentialContainerValues(PrismContainerValue<SecurityQuestionsCredentialsType> cVal)
-
Uses of PolicyViolationException in com.evolveum.midpoint.model.impl.lens.projector.focus
Methods in com.evolveum.midpoint.model.impl.lens.projector.focus that throw PolicyViolationException Modifier and Type Method Description <O extends ObjectType,AH extends AssignmentHolderType>
voidAssignmentProcessor. processAssignments(LensContext<O> context, XMLGregorianCalendar now, Task task, OperationResult parentResult)
Processing all the assignments.<AH extends AssignmentHolderType>
voidAssignmentHolderProcessor. processFocus(LensContext<AH> context, String activityDescription, XMLGregorianCalendar now, Task task, OperationResult result)
-
Uses of PolicyViolationException in com.evolveum.midpoint.model.impl.lens.projector.loader
Methods in com.evolveum.midpoint.model.impl.lens.projector.loader that throw PolicyViolationException Modifier and Type Method Description <F extends ObjectType>
voidContextLoader. load(@NotNull LensContext<F> context, @NotNull String activityDescription, XMLGregorianCalendar ignored, @NotNull Task task, @NotNull OperationResult result)
Loads the whole context.void
ProjectionsLoadOperation. load(OperationResult parentResult)
<F extends ObjectType>
voidContextLoader. updateArchetypePolicyAndRelatives(@NotNull LensFocusContext<F> focusContext, boolean overwrite, @NotNull Task task, @NotNull OperationResult result)
Updates the following in the focus context: - list of archetypes, - (merged) archetype policy (stemming from archetypes), - focus template (stemming from archetype policy). -
Uses of PolicyViolationException in com.evolveum.midpoint.model.impl.lens.projector.policy
Methods in com.evolveum.midpoint.model.impl.lens.projector.policy that throw PolicyViolationException Modifier and Type Method Description <O extends ObjectType>
voidPolicyRuleProcessor. enforce(@NotNull LensContext<O> context, OperationResult parentResult)
-
Uses of PolicyViolationException in com.evolveum.midpoint.model.impl.lens.projector.util
Methods in com.evolveum.midpoint.model.impl.lens.projector.util that throw PolicyViolationException Modifier and Type Method Description void
ProcessorMethodRef. run(@NotNull LensContext<X> lensContext, @NotNull String activityDescription, @NotNull XMLGregorianCalendar now, @NotNull Task task, @NotNull OperationResult result)
void
ProjectionAwareProcessorMethodRef. run(LensContext<X> lensContext, LensProjectionContext projectionContext, String activityDescription, XMLGregorianCalendar now, Task task, OperationResult result)
void
SimplifiedProcessorMethodRef. run(LensContext<X> lensContext, XMLGregorianCalendar now, Task task, OperationResult result)
-
Uses of PolicyViolationException in com.evolveum.midpoint.model.impl.sync.tasks.sync
Methods in com.evolveum.midpoint.model.impl.sync.tasks.sync that throw PolicyViolationException Modifier and Type Method Description void
LiveSyncActivityRun. iterateOverItemsInBucket(OperationResult opResult)
-
Uses of PolicyViolationException in com.evolveum.midpoint.model.impl.util
Methods in com.evolveum.midpoint.model.impl.util that throw PolicyViolationException Modifier and Type Method Description static CriticalityType
ModelImplUtils. handleConnectorErrorCriticality(ResourceType resourceType, Throwable e, OperationResult result)
-
Uses of PolicyViolationException in com.evolveum.midpoint.provisioning.api
Methods in com.evolveum.midpoint.provisioning.api that throw PolicyViolationException Modifier and Type Method Description <T extends ObjectType>
StringProvisioningService. addObject(@NotNull PrismObject<T> object, @Nullable OperationProvisioningScriptsType scripts, @Nullable ProvisioningOperationOptions options, @NotNull Task task, @NotNull OperationResult parentResult)
Add new object.<T extends ObjectType>
PrismObject<T>ProvisioningService. deleteObject(Class<T> type, String oid, ProvisioningOperationOptions option, OperationProvisioningScriptsType scripts, Task task, OperationResult parentResult)
Deletes object with specified OID.<T extends ObjectType>
StringProvisioningService. modifyObject(@NotNull Class<T> type, @NotNull String oid, @NotNull Collection<? extends ItemDelta<?,?>> modifications, @Nullable OperationProvisioningScriptsType scripts, @Nullable ProvisioningOperationOptions options, @NotNull Task task, @NotNull OperationResult parentResult)
Modifies object using relative change description.@NotNull SynchronizationResult
ProvisioningService. synchronize(@NotNull ResourceOperationCoordinates coordinates, @Nullable LiveSyncOptions options, @NotNull LiveSyncTokenStorage tokenStorage, @NotNull LiveSyncEventHandler handler, @NotNull Task task, @NotNull OperationResult parentResult)
Fetches synchronization change events (LiveSyncEvent
) from a resource and passes them into specifiedLiveSyncEventHandler
. -
Uses of PolicyViolationException in com.evolveum.midpoint.repo.common.util
Methods in com.evolveum.midpoint.repo.common.util that throw PolicyViolationException Modifier and Type Method Description static void
RepoCommonUtils. processErrorCriticality(Object object, CriticalityType criticality, Throwable e, OperationResult result)
static void
RepoCommonUtils. throwException(Throwable e, OperationResult result)
-
Uses of PolicyViolationException in com.evolveum.midpoint.util.exception
Subclasses of PolicyViolationException in com.evolveum.midpoint.util.exception Modifier and Type Class Description class
IndestructibilityViolationException
class
ThresholdPolicyViolationException
-