Class ProvisioningEntityRelinkRequest
java.lang.Object
edu.internet2.middleware.grouper.app.provisioning.ProvisioningEntityRelinkRequest
A request to re-point a provisioned entity from the target account it is currently linked to
(which could not be updated) onto a different, already-existing target account that holds the
desired identity, and to dispose of the now-orphaned old account per provisioner settings.
This is the framework-agnostic hand-off produced when a target dao detects that an update
would collide with a pre-existing account (e.g. a SCIM PATCH rejected with HTTP 409 scimType
"uniqueness"). The dao only detects the collision and records this request; the generic
provisioning logic drains the requests near end-of-run (drainEntityRelinks) and does the
actual work: it re-links the entity's sync member to the new account and runs the old account
through the standard entity-delete decision, so "never delete", "disable instead of delete", and
"delete only if grouper created it" are all honored centrally rather than in any one dao.
-
Constructor Summary
ConstructorsConstructorDescriptionProvisioningEntityRelinkRequest(ProvisioningEntityWrapper provisioningEntityWrapper, ProvisioningEntity newTargetEntity, String oldTargetId) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetNewTargetEntity(ProvisioningEntity newTargetEntity) voidsetOldTargetId(String oldTargetId) voidsetProvisioningEntityWrapper(ProvisioningEntityWrapper provisioningEntityWrapper)
-
Constructor Details
-
ProvisioningEntityRelinkRequest
public ProvisioningEntityRelinkRequest() -
ProvisioningEntityRelinkRequest
public ProvisioningEntityRelinkRequest(ProvisioningEntityWrapper provisioningEntityWrapper, ProvisioningEntity newTargetEntity, String oldTargetId)
-
-
Method Details
-
getProvisioningEntityWrapper
-
setProvisioningEntityWrapper
-
getNewTargetEntity
-
setNewTargetEntity
-
getOldTargetId
-
setOldTargetId
-