Class IdMatchCorrelator
java.lang.Object
com.evolveum.midpoint.model.impl.correlator.BaseCorrelator<IdMatchCorrelatorType>
com.evolveum.midpoint.model.impl.correlator.idmatch.IdMatchCorrelator
- All Implemented Interfaces:
Correlator
A correlator based on an external service providing ID Match API.
(https://spaces.at.internet2.edu/display/cifer/SOR-Registry+Strawman+ID+Match+API)
Limitations:
. This correlator is not to be used as a child of the composite correlator.
. Currently supports only shadow-based correlations.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.evolveum.midpoint.model.impl.correlator.BaseCorrelator
BaseCorrelator.ConfidenceValueProvider -
Field Summary
Fields inherited from class com.evolveum.midpoint.model.impl.correlator.BaseCorrelator
beans, configurationBean, correlatorContext, MAX_CANDIDATES, typeName -
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull ConfidencecheckCandidateOwnerInternal(@NotNull CorrelationContext correlationContext, @NotNull FocusType candidateOwner, @NotNull OperationResult result) @NotNull CorrelationResultcorrelateInternal(@NotNull CorrelationContext correlationContext, @NotNull OperationResult result) @NotNull Collection<CorrelationPropertyDefinition>getCorrelationPropertiesDefinitions(PrismObjectDefinition<? extends FocusType> focusDefinition, @NotNull Task task, @NotNull OperationResult result) Returns the correlation properties this correlator uses to do the correlation.voidresolve(@NotNull CaseType aCase, @NotNull String outcomeUri, @NotNull Task task, @NotNull OperationResult result) Resolves a correlation case using provided work item output.voidupdate(@NotNull CorrelationContext correlationContext, @NotNull OperationResult result) Updates the internal state of the correlator with the "fresh" data from the resource.Methods inherited from class com.evolveum.midpoint.model.impl.correlator.BaseCorrelator
checkCandidateOwner, correlate, createResult, determineConfidence, explain, explainInternal, getDefaultContextDescription, instantiateChild
-
Method Details
-
correlateInternal
@NotNull public @NotNull CorrelationResult correlateInternal(@NotNull @NotNull CorrelationContext correlationContext, @NotNull @NotNull OperationResult result) throws ConfigurationException, SchemaException, CommunicationException, SecurityViolationException - Specified by:
correlateInternalin classBaseCorrelator<IdMatchCorrelatorType>- Throws:
ConfigurationExceptionSchemaExceptionCommunicationExceptionSecurityViolationException
-
checkCandidateOwnerInternal
@NotNull protected @NotNull Confidence checkCandidateOwnerInternal(@NotNull @NotNull CorrelationContext correlationContext, @NotNull @NotNull FocusType candidateOwner, @NotNull @NotNull OperationResult result) throws ConfigurationException, SchemaException, CommunicationException, SecurityViolationException - Specified by:
checkCandidateOwnerInternalin classBaseCorrelator<IdMatchCorrelatorType>- Throws:
ConfigurationExceptionSchemaExceptionCommunicationExceptionSecurityViolationException
-
update
public void update(@NotNull @NotNull CorrelationContext correlationContext, @NotNull @NotNull OperationResult result) throws SchemaException, CommunicationException, SecurityViolationException, ConfigurationException Description copied from interface:CorrelatorUpdates the internal state of the correlator with the "fresh" data from the resource. -
resolve
public void resolve(@NotNull @NotNull CaseType aCase, @NotNull @NotNull String outcomeUri, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) throws SchemaException, CommunicationException, SecurityViolationException, ObjectNotFoundException, ExpressionEvaluationException, ConfigurationException Description copied from interface:CorrelatorResolves a correlation case using provided work item output. This includes the processing that needs to be done in the correlator. For the majority of correlators, there's nothing to be done here. Correlators with external and/or internal state (like ID Match) can update that state here.outcomeUri- It is the same value as in the case. It is mentioned explicitly just to show it's not null.- Throws:
SchemaExceptionCommunicationExceptionSecurityViolationExceptionObjectNotFoundExceptionExpressionEvaluationExceptionConfigurationException
-
getCorrelationPropertiesDefinitions
@NotNull public @NotNull Collection<CorrelationPropertyDefinition> getCorrelationPropertiesDefinitions(PrismObjectDefinition<? extends FocusType> focusDefinition, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) Description copied from interface:CorrelatorReturns the correlation properties this correlator uses to do the correlation. These are then e.g. displayed in the correlation case resolution window. May not be completely supported by all correlators. If the optional focus definition is present, theCorrelationPropertyDefinitionobjects returned are more precise: the paths are qualified (if possible), and the respective item definitions are set (again, if possible).
-