public class LDAPMembershipPullActions extends SchedulingPullActions
LDAPMembershipPropagationActions
Modifier and Type | Field and Description |
---|---|
protected AnyTypeDAO |
anyTypeDAO |
protected GroupDAO |
groupDAO |
protected static org.slf4j.Logger |
LOG |
protected Map<String,Set<String>> |
membershipsAfter |
protected Map<String,Set<String>> |
membershipsBefore |
scheduler
Constructor and Description |
---|
LDAPMembershipPullActions() |
Modifier and Type | Method and Description |
---|---|
void |
after(ProvisioningProfile<?,?> profile,
SyncDelta delta,
EntityTO entity,
ProvisioningReport result)
Keep track of members of the group being updated after actual update took place.
|
void |
afterAll(ProvisioningProfile<?,?> profile)
Action to be executed after the provisioning (push / pull) task completion.
|
<P extends AnyPatch> |
beforeUpdate(ProvisioningProfile<?,?> profile,
SyncDelta delta,
EntityTO entity,
P anyPatch)
Keep track of members of the group being updated before actual update takes place.
|
protected String |
getGroupMembershipAttrName(Connector connector)
Allows easy subclassing for the ConnId AD connector bundle.
|
protected List<Object> |
getMembAttrValues(SyncDelta delta,
Connector connector)
Read values of attribute returned by getGroupMembershipAttrName(); if not present in the given delta, perform an
additional read on the underlying connector.
|
schedule
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
beforeAssign, beforeDelete, beforeDeprovision, beforeLink, beforeProvision, beforeUnassign, beforeUnlink, moreAttrsToGet, moreAttrsToGet, onError, preprocess
beforeAll
protected static final org.slf4j.Logger LOG
@Autowired protected AnyTypeDAO anyTypeDAO
@Autowired protected GroupDAO groupDAO
protected String getGroupMembershipAttrName(Connector connector)
connector
- A Connector instance to query for the groupMemberAttribute property nameprotected List<Object> getMembAttrValues(SyncDelta delta, Connector connector)
delta
- representing the pulling groupconnector
- associated to the current resourcegetGroupMembershipAttrName(org.apache.syncope.core.provisioning.api.Connector)
@Transactional(readOnly=true) public <P extends AnyPatch> void beforeUpdate(ProvisioningProfile<?,?> profile, SyncDelta delta, EntityTO entity, P anyPatch) throws org.quartz.JobExecutionException
PullActions.beforeProvision(org.apache.syncope.core.provisioning.api.pushpull.ProvisioningProfile<?, ?>, org.identityconnectors.framework.common.objects.SyncDelta, org.apache.syncope.common.lib.to.EntityTO)
because the pulling group does not exist yet on SyncopePullActions.beforeDelete(org.apache.syncope.core.provisioning.api.pushpull.ProvisioningProfile<?, ?>, org.identityconnectors.framework.common.objects.SyncDelta, org.apache.syncope.common.lib.to.EntityTO)
because group delete cascades as membership removal for all users involvedMatchingRule.UPDATE
(default matching rule) is applied.P
- any object modificationsprofile
- profile of the pull being executed.delta
- retrieved pull informationentity
- entityanyPatch
- modificationorg.quartz.JobExecutionException
- in case of generic failure.public void after(ProvisioningProfile<?,?> profile, SyncDelta delta, EntityTO entity, ProvisioningReport result) throws org.quartz.JobExecutionException
profile
- profile of the pull being executed.delta
- retrieved pull information (may be modified by beforeProvision / beforeUpdate /
beforeDelete)entity
- entityresult
- global pull results at the current pull steporg.quartz.JobExecutionException
- in case of generic failurepublic void afterAll(ProvisioningProfile<?,?> profile) throws org.quartz.JobExecutionException
ProvisioningActions
profile
- provisioning profileorg.quartz.JobExecutionException
- in case of generic failureCopyright © 2010–2023 The Apache Software Foundation. All rights reserved.