public class CamelUserProvisioningManager extends Object implements UserProvisioningManager
Modifier and Type | Field and Description |
---|---|
protected Map<String,org.apache.camel.PollingConsumer> |
consumerMap |
protected SyncopeCamelContext |
contextFactory |
protected List<String> |
knownURIs |
protected CamelRouteDAO |
routeDAO |
protected org.apache.camel.model.RoutesDefinition |
routes |
Constructor and Description |
---|
CamelUserProvisioningManager() |
Modifier and Type | Method and Description |
---|---|
Pair<String,List<PropagationStatus>> |
activate(StatusPatch statusPatch,
boolean nullPriorityAsync) |
void |
confirmPasswordReset(String key,
String token,
String password) |
Pair<String,List<PropagationStatus>> |
create(UserTO userTO,
boolean nullPriorityAsync) |
Pair<String,List<PropagationStatus>> |
create(UserTO userTO,
boolean storePassword,
boolean nullPriorityAsync) |
Pair<String,List<PropagationStatus>> |
create(UserTO userTO,
boolean storePassword,
boolean disablePwdPolicyCheck,
Boolean enabled,
Set<String> excludedResources,
boolean nullPriorityAsync) |
List<PropagationStatus> |
delete(String key,
boolean nullPriorityAsync) |
List<PropagationStatus> |
delete(String key,
Set<String> excludedResources,
boolean nullPriorityAsync) |
List<PropagationStatus> |
deprovision(String user,
Collection<String> resources,
boolean nullPriorityAsync) |
protected org.apache.camel.PollingConsumer |
getConsumer(String uri) |
void |
internalSuspend(String key) |
String |
link(UserPatch anyPatch) |
List<PropagationStatus> |
provision(String key,
boolean changePwd,
String password,
Collection<String> resources,
boolean nullPriorityAsync) |
Pair<String,List<PropagationStatus>> |
reactivate(StatusPatch statusPatch,
boolean nullPriorityAsync) |
void |
requestPasswordReset(String key) |
protected void |
sendMessage(String uri,
Object obj) |
protected void |
sendMessage(String uri,
Object body,
Map<String,Object> properties) |
Pair<String,List<PropagationStatus>> |
suspend(StatusPatch statusPatch,
boolean nullPriorityAsync) |
String |
unlink(UserPatch userPatch) |
Pair<UserPatch,List<PropagationStatus>> |
update(UserPatch userPatch,
boolean nullPriorityAsync) |
Pair<UserPatch,List<PropagationStatus>> |
update(UserPatch userPatch,
ProvisioningReport result,
Boolean enabled,
Set<String> excludedResources,
boolean nullPriorityAsync) |
Pair<UserPatch,List<PropagationStatus>> |
update(UserPatch userPatch,
Set<String> excludedResources,
boolean nullPriorityAsync) |
@Autowired protected CamelRouteDAO routeDAO
@Autowired protected SyncopeCamelContext contextFactory
protected org.apache.camel.model.RoutesDefinition routes
public Pair<String,List<PropagationStatus>> create(UserTO userTO, boolean nullPriorityAsync)
create
in interface ProvisioningManager<UserTO,UserPatch>
public Pair<String,List<PropagationStatus>> create(UserTO userTO, boolean storePassword, boolean nullPriorityAsync)
create
in interface UserProvisioningManager
@Transactional(propagation=REQUIRES_NEW) public Pair<String,List<PropagationStatus>> create(UserTO userTO, boolean storePassword, boolean disablePwdPolicyCheck, Boolean enabled, Set<String> excludedResources, boolean nullPriorityAsync)
create
in interface UserProvisioningManager
public Pair<UserPatch,List<PropagationStatus>> update(UserPatch userPatch, boolean nullPriorityAsync)
update
in interface ProvisioningManager<UserTO,UserPatch>
public Pair<UserPatch,List<PropagationStatus>> update(UserPatch userPatch, Set<String> excludedResources, boolean nullPriorityAsync)
update
in interface ProvisioningManager<UserTO,UserPatch>
public List<PropagationStatus> delete(String key, boolean nullPriorityAsync)
delete
in interface ProvisioningManager<UserTO,UserPatch>
@Transactional(propagation=REQUIRES_NEW) public List<PropagationStatus> delete(String key, Set<String> excludedResources, boolean nullPriorityAsync)
delete
in interface ProvisioningManager<UserTO,UserPatch>
public String unlink(UserPatch userPatch)
unlink
in interface ProvisioningManager<UserTO,UserPatch>
public Pair<String,List<PropagationStatus>> activate(StatusPatch statusPatch, boolean nullPriorityAsync)
activate
in interface UserProvisioningManager
public Pair<String,List<PropagationStatus>> reactivate(StatusPatch statusPatch, boolean nullPriorityAsync)
reactivate
in interface UserProvisioningManager
public Pair<String,List<PropagationStatus>> suspend(StatusPatch statusPatch, boolean nullPriorityAsync)
suspend
in interface UserProvisioningManager
public String link(UserPatch anyPatch)
link
in interface ProvisioningManager<UserTO,UserPatch>
public List<PropagationStatus> provision(String key, boolean changePwd, String password, Collection<String> resources, boolean nullPriorityAsync)
provision
in interface UserProvisioningManager
public List<PropagationStatus> deprovision(String user, Collection<String> resources, boolean nullPriorityAsync)
deprovision
in interface ProvisioningManager<UserTO,UserPatch>
@Transactional(propagation=REQUIRES_NEW) public Pair<UserPatch,List<PropagationStatus>> update(UserPatch userPatch, ProvisioningReport result, Boolean enabled, Set<String> excludedResources, boolean nullPriorityAsync)
update
in interface UserProvisioningManager
public void internalSuspend(String key)
internalSuspend
in interface UserProvisioningManager
public void requestPasswordReset(String key)
requestPasswordReset
in interface UserProvisioningManager
public void confirmPasswordReset(String key, String token, String password)
confirmPasswordReset
in interface UserProvisioningManager
protected org.apache.camel.PollingConsumer getConsumer(String uri)
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.