Class IdMatchServiceImpl
java.lang.Object
com.evolveum.midpoint.model.impl.correlator.idmatch.IdMatchServiceImpl
- All Implemented Interfaces:
IdMatchService
An interface from midPoint to real ID Match service.
-
Method Summary
Modifier and TypeMethodDescription@NotNull MatchingResult
executeMatch
(@NotNull MatchingRequest request, @NotNull OperationResult result) Request a match for given resource object attributes.generateResolveRequest
(@NotNull IdMatchObject idMatchObject, @NotNull String referenceId, @Nullable String matchRequestId) static IdMatchServiceImpl
instantiate
(@NotNull IdMatchCorrelatorType configuration) Creates an instance of ID Match service for given ID Match correlator configuration.static IdMatchServiceImpl
instantiate
(@NotNull String url, @Nullable String username, @Nullable ProtectedStringType password) Creates an instance of ID Match service with explicitly defined parameters.@NotNull String
resolve
(@NotNull IdMatchObject idMatchObject, @Nullable String matchRequestId, @Nullable String referenceId, @NotNull OperationResult result) Resolves a pending match.void
update
(@NotNull IdMatchObject idMatchObject, @Nullable String referenceId, @NotNull OperationResult result) Updates an object in ID Match service.
-
Method Details
-
executeMatch
@NotNull public @NotNull MatchingResult executeMatch(@NotNull @NotNull MatchingRequest request, @NotNull @NotNull OperationResult result) throws CommunicationException, SchemaException, SecurityViolationException Description copied from interface:IdMatchService
Request a match for given resource object attributes.- Specified by:
executeMatch
in interfaceIdMatchService
- Throws:
CommunicationException
SchemaException
SecurityViolationException
-
update
public void update(@NotNull @NotNull IdMatchObject idMatchObject, @Nullable @Nullable String referenceId, @NotNull @NotNull OperationResult result) throws CommunicationException, SchemaException, SecurityViolationException Description copied from interface:IdMatchService
Updates an object in ID Match service.- Specified by:
update
in interfaceIdMatchService
- Throws:
CommunicationException
SchemaException
SecurityViolationException
-
generateResolveRequest
public PersonRequest generateResolveRequest(@NotNull @NotNull IdMatchObject idMatchObject, @NotNull @NotNull String referenceId, @Nullable @Nullable String matchRequestId) throws SchemaException - Throws:
SchemaException
-
resolve
@NotNull public @NotNull String resolve(@NotNull @NotNull IdMatchObject idMatchObject, @Nullable @Nullable String matchRequestId, @Nullable @Nullable String referenceId, @NotNull @NotNull OperationResult result) throws CommunicationException, SchemaException, SecurityViolationException Description copied from interface:IdMatchService
Resolves a pending match.- Specified by:
resolve
in interfaceIdMatchService
- Parameters:
idMatchObject
- Object whose pending match is to be updated.matchRequestId
- Identifier of the match request (if provided by the service)referenceId
- What reference ID to assign. Null means "generate new".- Returns:
- Current reference ID
- Throws:
CommunicationException
SchemaException
SecurityViolationException
-
instantiate
public static IdMatchServiceImpl instantiate(@NotNull @NotNull IdMatchCorrelatorType configuration) throws ConfigurationException Creates an instance of ID Match service for given ID Match correlator configuration.- Throws:
ConfigurationException
-
instantiate
public static IdMatchServiceImpl instantiate(@NotNull @NotNull String url, @Nullable @Nullable String username, @Nullable @Nullable ProtectedStringType password) Creates an instance of ID Match service with explicitly defined parameters.
-