Class IdMatchServiceImpl
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.correlator.idmatch.IdMatchServiceImpl
-
- All Implemented Interfaces:
IdMatchService
public class IdMatchServiceImpl extends Object implements IdMatchService
An interface from midPoint to real ID Match service.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull MatchingResultexecuteMatch(@NotNull MatchingRequest request, @NotNull OperationResult result)Request a match for given resource object attributes.PersonRequestgenerateResolveRequest(@NotNull IdMatchObject idMatchObject, @NotNull String referenceId, @Nullable String matchRequestId)static IdMatchServiceImplinstantiate(@NotNull IdMatchCorrelatorType configuration)Creates an instance of ID Match service for given ID Match correlator configuration.static IdMatchServiceImplinstantiate(@NotNull String url, @Nullable String username, @Nullable ProtectedStringType password)Creates an instance of ID Match service with explicitly defined parameters.@NotNull Stringresolve(@NotNull IdMatchObject idMatchObject, @Nullable String matchRequestId, @Nullable String referenceId, @NotNull OperationResult result)Resolves a pending match.voidupdate(@NotNull IdMatchObject idMatchObject, @Nullable String referenceId, @NotNull OperationResult result)Updates an object in ID Match service.
-
-
-
Method Detail
-
executeMatch
@NotNull public @NotNull MatchingResult executeMatch(@NotNull @NotNull MatchingRequest request, @NotNull @NotNull OperationResult result) throws CommunicationException, SchemaException, SecurityViolationException
Description copied from interface:IdMatchServiceRequest a match for given resource object attributes.- Specified by:
executeMatchin interfaceIdMatchService- Throws:
CommunicationExceptionSchemaExceptionSecurityViolationException
-
update
public void update(@NotNull @NotNull IdMatchObject idMatchObject, @Nullable @Nullable String referenceId, @NotNull @NotNull OperationResult result) throws CommunicationException, SchemaException, SecurityViolationExceptionDescription copied from interface:IdMatchServiceUpdates an object in ID Match service.- Specified by:
updatein interfaceIdMatchService- Throws:
CommunicationExceptionSchemaExceptionSecurityViolationException
-
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:IdMatchServiceResolves a pending match.- Specified by:
resolvein 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:
CommunicationExceptionSchemaExceptionSecurityViolationException
-
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.
-
-