Interface InboundActions
- All Superinterfaces:
ProvisioningActions
- All Known Implementing Classes:
ADMembershipPullActions
,DBPasswordPullActions
,KafkaInboundActions
,LDAPMembershipPullActions
,LDAPPasswordPullActions
,TestInboundActions
Interface for actions to be performed during inbound.
All methods can throw
IgnoreProvisionException
to make the current any object ignored by the inbound
process.-
Method Summary
Modifier and TypeMethodDescriptiondefault void
after
(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, EntityTO entity, ProvisioningReport result) Action to be executed after each local entity inbound.default void
beforeAssign
(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, AnyCR createReq) Action to be executed before creating (and linking to the resource) a inbounded entity locally.default void
beforeAssign
(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, LinkedAccountTO linkedAccount) Action to be executed before locally creating a linked account.default void
beforeAssign
(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, RealmTO realm) Action to be executed before creating (and linking to the resource) a inbounded realm locally.default void
beforeDelete
(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, EntityTO entity) Action to be executed before to delete a inbounded entity locally.default void
beforeDeprovision
(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, EntityTO entity) Action to be executed before de-provisioning action only.default void
beforeLink
(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, EntityTO entity) Action to be executed before linking resource to the inbounded entity.default void
beforeProvision
(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, AnyCR createReq) Action to be executed before to create a inbounded entity locally.default void
beforeProvision
(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, LinkedAccountTO linkedAccount) Action to be executed before locally creating a linked account.default void
beforeProvision
(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, RealmTO realm) Action to be executed before to create a inbounded realm locally.default void
beforeUnassign
(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, EntityTO entity) Action to be executed before unlinking resource from the inbounded entity and de-provisioning.default void
beforeUnlink
(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, EntityTO entity) Action to be executed before unlinking resource from the inbounded entity.default void
beforeUpdate
(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, EntityTO entity, AnyUR anyUR) Action to be executed before to update a inbounded entity locally.moreAttrsToGet
(ProvisioningProfile<?, ?> profile, OrgUnit orgUnit) Return additional attributes to include in the result from the underlying connector.moreAttrsToGet
(ProvisioningProfile<?, ?> profile, Provision provision) Return additional attributes to include in the result from the underlying connector.default IgnoreProvisionException
onError
(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, Exception e) Action to be executed in case an exception is thrown during inbound.default <T extends LiveSyncDelta>
Tpreprocess
(ProvisioningProfile<?, ?> profile, T delta) Pre-process the inbound information received by the underlying connector, before any internal activity occurs.Methods inherited from interface org.apache.syncope.core.provisioning.api.pushpull.ProvisioningActions
afterAll, beforeAll
-
Method Details
-
moreAttrsToGet
Return additional attributes to include in the result from the underlying connector.- Parameters:
profile
- profile of the inbound being executed.orgUnit
- Realm provisioning information- Returns:
- additional attributes to include in the result from the underlying connector
-
moreAttrsToGet
Return additional attributes to include in the result from the underlying connector.- Parameters:
profile
- profile of the inbound being executed.provision
- Any provisioning information- Returns:
- additional attributes to include in the result from the underlying connector
-
preprocess
Pre-process the inbound information received by the underlying connector, before any internal activity occurs.- Type Parameters:
T
- sync delta class- Parameters:
profile
- profile of the inbound being executed.delta
- retrieved inbound information- Returns:
- inbound information, possibly altered.
-
beforeProvision
default void beforeProvision(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, AnyCR createReq) Action to be executed before to create a inbounded entity locally. The entity is created locally upon inbound in case of the un-matching ruleUnmatchingRule.PROVISION
(default un-matching rule) is applied.- Parameters:
profile
- profile of the inbound being executed.delta
- retrieved inbound informationcreateReq
- create request
-
beforeProvision
default void beforeProvision(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, LinkedAccountTO linkedAccount) Action to be executed before locally creating a linked account.- Parameters:
profile
- profile of the inbound being executed.delta
- retrieved inbound informationlinkedAccount
- create request
-
beforeProvision
Action to be executed before to create a inbounded realm locally. The realm is created locally upon inbound in case of the un-matching ruleUnmatchingRule.PROVISION
(default un-matching rule) is applied.- Parameters:
profile
- profile of the inbound being executed.delta
- retrieved inbound informationrealm
- realm
-
beforeAssign
Action to be executed before creating (and linking to the resource) a inbounded entity locally. The entity is created locally and linked to the inbounded resource upon inbound in case of the un-matching ruleUnmatchingRule.ASSIGN
is applied.- Parameters:
profile
- profile of the inbound being executed.delta
- retrieved inbound informationcreateReq
- create request
-
beforeAssign
default void beforeAssign(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, LinkedAccountTO linkedAccount) Action to be executed before locally creating a linked account.- Parameters:
profile
- profile of the inbound being executed.delta
- retrieved inbound informationlinkedAccount
- linked account
-
beforeAssign
Action to be executed before creating (and linking to the resource) a inbounded realm locally. The realm is created locally and linked to the inbounded resource upon inbound in case of the un-matching ruleUnmatchingRule.ASSIGN
is applied.- Parameters:
profile
- profile of the inbound being executed.delta
- retrieved inbound informationrealm
- realm
-
beforeUnassign
Action to be executed before unlinking resource from the inbounded entity and de-provisioning. The entity is unlinked and de-provisioned from the inbounded resource upon inbound in case of the matching ruleMatchingRule.UNASSIGN
is applied.- Parameters:
profile
- profile of the inbound being executed.delta
- retrieved inbound informationentity
- entity
-
beforeDeprovision
default void beforeDeprovision(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, EntityTO entity) Action to be executed before de-provisioning action only. The entity is de-provisioned (without unlinking) from the inbounded resource upon inbound in case of the matching ruleMatchingRule.DEPROVISION
is applied.- Parameters:
profile
- profile of the inbound being executed.delta
- retrieved inbound informationentity
- entity
-
beforeUnlink
Action to be executed before unlinking resource from the inbounded entity. The entity is unlinked (without de-provisioning) from the inbounded resource upon inbound in case of the matching ruleMatchingRule.UNLINK
is applied.- Parameters:
profile
- profile of the inbound being executed.delta
- retrieved inbound informationentity
- entity
-
beforeLink
Action to be executed before linking resource to the inbounded entity. The entity is linked (without updating) to the inbounded resource upon inbound in case of the matching ruleMatchingRule.LINK
is applied.- Parameters:
profile
- profile of the inbound being executed.delta
- retrieved inbound informationentity
- entity
-
beforeUpdate
default void beforeUpdate(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, EntityTO entity, AnyUR anyUR) throws JobExecutionExceptionAction to be executed before to update a inbounded entity locally. The entity is updated upon inbound in case of the matching ruleMatchingRule.UPDATE
(default matching rule) is applied.- Parameters:
profile
- profile of the inbound being executed.delta
- retrieved inbound informationentity
- entityanyUR
- modification- Throws:
JobExecutionException
- in case of generic failure.
-
beforeDelete
Action to be executed before to delete a inbounded entity locally.- Parameters:
profile
- profile of the inbound being executed.delta
- retrieved inbound informationentity
- entity
-
after
default void after(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, EntityTO entity, ProvisioningReport result) throws JobExecutionExceptionAction to be executed after each local entity inbound.- Parameters:
profile
- profile of the inbound being executed.delta
- retrieved inbound information (may be modified by beforeProvisionTO / beforeUpdate / beforeDelete)entity
- entityresult
- global inbound results at the current inbound step- Throws:
JobExecutionException
- in case of generic failure
-
onError
default IgnoreProvisionException onError(ProvisioningProfile<?, ?> profile, LiveSyncDelta delta, Exception e) Action to be executed in case an exception is thrown during inbound.- Parameters:
profile
- profile of the inbound being executed.delta
- retrieved inbound information (may be modified by beforeProvisionTO / beforeUpdate / beforeDelete)e
- the exception thrown- Returns:
- an instance of the given exception type is that is to be thrown;
NULL
otherwise
-