Class DefaultUserProvisioningManager
java.lang.Object
org.apache.syncope.core.provisioning.java.DefaultUserProvisioningManager
- All Implemented Interfaces:
ProvisioningManager<UserCR,
,UserUR> UserProvisioningManager
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final Logger
protected final PropagationManager
protected final PropagationTaskExecutor
protected final UserDAO
protected final UserWorkflowAdapter
protected final VirAttrHandler
-
Constructor Summary
ConstructorDescriptionDefaultUserProvisioningManager
(UserWorkflowAdapter uwfAdapter, PropagationManager propagationManager, PropagationTaskExecutor taskExecutor, UserDAO userDAO, VirAttrHandler virtAttrHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoid
create
(UserCR userCR, boolean disablePwdPolicyCheck, Boolean enabled, Set<String> excludedResources, boolean nullPriorityAsync, String creator, String context) delete
(String key, Set<String> excludedResources, boolean nullPriorityAsync, String eraser, String context) deprovision
(String key, Collection<String> resources, boolean nullPriorityAsync, String executor) void
internalSuspend
(String key, String updater, String context) protected List
<PropagationStatus> propagateStatus
(StatusR statusR, boolean nullPriorityAsync, String updater) provision
(String key, boolean changePwd, String password, Collection<String> resources, boolean nullPriorityAsync, String executor) reactivate
(StatusR statusR, boolean nullPriorityAsync, String updater, String context) void
requestPasswordReset
(String key, String updater, String context) update
(UserUR userUR, Set<String> excludedResources, boolean nullPriorityAsync, String updater, String context) update
(UserUR userUR, ProvisioningReport result, Boolean enabled, Set<String> excludedResources, boolean nullPriorityAsync, String updater, String context)
-
Field Details
-
LOG
-
uwfAdapter
-
propagationManager
-
taskExecutor
-
userDAO
-
virtAttrHandler
-
-
Constructor Details
-
DefaultUserProvisioningManager
public DefaultUserProvisioningManager(UserWorkflowAdapter uwfAdapter, PropagationManager propagationManager, PropagationTaskExecutor taskExecutor, UserDAO userDAO, VirAttrHandler virtAttrHandler)
-
-
Method Details
-
create
public Pair<String,List<PropagationStatus>> create(UserCR userCR, boolean nullPriorityAsync, String creator, String context) - Specified by:
create
in interfaceProvisioningManager<UserCR,
UserUR>
-
create
@Transactional(propagation=REQUIRES_NEW) public Pair<String,List<PropagationStatus>> create(UserCR userCR, boolean disablePwdPolicyCheck, Boolean enabled, Set<String> excludedResources, boolean nullPriorityAsync, String creator, String context) - Specified by:
create
in interfaceUserProvisioningManager
-
update
public Pair<UserUR,List<PropagationStatus>> update(UserUR userUR, boolean nullPriorityAsync, String updater, String context) - Specified by:
update
in interfaceUserProvisioningManager
-
update
public Pair<UserUR,List<PropagationStatus>> update(UserUR userUR, Set<String> excludedResources, boolean nullPriorityAsync, String updater, String context) - Specified by:
update
in interfaceProvisioningManager<UserCR,
UserUR>
-
update
@Transactional(propagation=REQUIRES_NEW) public Pair<UserUR,List<PropagationStatus>> update(UserUR userUR, ProvisioningReport result, Boolean enabled, Set<String> excludedResources, boolean nullPriorityAsync, String updater, String context) - Specified by:
update
in interfaceUserProvisioningManager
-
delete
public List<PropagationStatus> delete(String key, boolean nullPriorityAsync, String eraser, String context) - Specified by:
delete
in interfaceProvisioningManager<UserCR,
UserUR>
-
delete
@Transactional(propagation=REQUIRES_NEW) public List<PropagationStatus> delete(String key, Set<String> excludedResources, boolean nullPriorityAsync, String eraser, String context) - Specified by:
delete
in interfaceProvisioningManager<UserCR,
UserUR>
-
unlink
- Specified by:
unlink
in interfaceProvisioningManager<UserCR,
UserUR>
-
link
- Specified by:
link
in interfaceProvisioningManager<UserCR,
UserUR>
-
activate
public Pair<String,List<PropagationStatus>> activate(StatusR statusR, boolean nullPriorityAsync, String updater, String context) - Specified by:
activate
in interfaceUserProvisioningManager
-
reactivate
public Pair<String,List<PropagationStatus>> reactivate(StatusR statusR, boolean nullPriorityAsync, String updater, String context) - Specified by:
reactivate
in interfaceUserProvisioningManager
-
suspend
public Pair<String,List<PropagationStatus>> suspend(StatusR statusR, boolean nullPriorityAsync, String updater, String context) - Specified by:
suspend
in interfaceUserProvisioningManager
-
propagateStatus
protected List<PropagationStatus> propagateStatus(StatusR statusR, boolean nullPriorityAsync, String updater) -
internalSuspend
- Specified by:
internalSuspend
in interfaceUserProvisioningManager
-
provision
public List<PropagationStatus> provision(String key, boolean changePwd, String password, Collection<String> resources, boolean nullPriorityAsync, String executor) - Specified by:
provision
in interfaceUserProvisioningManager
-
deprovision
public List<PropagationStatus> deprovision(String key, Collection<String> resources, boolean nullPriorityAsync, String executor) - Specified by:
deprovision
in interfaceProvisioningManager<UserCR,
UserUR>
-
requestPasswordReset
- Specified by:
requestPasswordReset
in interfaceUserProvisioningManager
-
confirmPasswordReset
public void confirmPasswordReset(String key, String token, String password, String updater, String context) - Specified by:
confirmPasswordReset
in interfaceUserProvisioningManager
-