public interface PropagationManager
Modifier and Type | Method and Description |
---|---|
List<PropagationTaskInfo> |
createTasks(Realm realm,
PropagationByResource<String> propByRes,
Collection<String> noPropResourceKeys)
Create the needed tasks for the realm for each resource associated, unless in
noPropResourceKeys . |
List<PropagationTaskInfo> |
getCreateTasks(AnyTypeKind kind,
String key,
Boolean enable,
PropagationByResource<String> propByRes,
Collection<AttrTO> vAttrs,
Collection<String> noPropResourceKeys)
Create the any object tasks for every associated resource, unless in
noPropResourceKeys . |
List<PropagationTaskInfo> |
getDeleteTasks(AnyTypeKind kind,
String key,
PropagationByResource<String> propByRes,
PropagationByResource<Pair<String,String>> propByLinkedAccount,
Collection<String> noPropResourceKeys)
Create the delete tasks for the any object from each resource associated, unless in
noPropResourceKeys . |
List<PropagationTaskInfo> |
getUpdateTasks(AnyTypeKind kind,
String key,
boolean changePwd,
Boolean enable,
PropagationByResource<String> propByRes,
PropagationByResource<Pair<String,String>> propByLinkedAccount,
Collection<AttrTO> vAttrs,
Collection<String> noPropResourceKeys)
Create the update tasks for the any object on each resource associated, unless in
noPropResourceKeys . |
List<PropagationTaskInfo> |
getUserCreateTasks(String key,
String password,
Boolean enable,
PropagationByResource<String> propByRes,
PropagationByResource<Pair<String,String>> propByLinkedAccount,
Collection<AttrTO> vAttrs,
Collection<String> noPropResourceKeys)
Create the user tasks for every associated resource, unless in
noPropResourceKeys . |
List<PropagationTaskInfo> |
getUserUpdateTasks(UserWorkflowResult<Pair<UserPatch,Boolean>> wfResult)
Create the update tasks for the user on each resource associated; propagate password update only to requested
resources.
|
List<PropagationTaskInfo> |
getUserUpdateTasks(UserWorkflowResult<Pair<UserPatch,Boolean>> wfResult,
boolean changePwd,
Collection<String> noPropResourceKeys)
Create the update tasks for the user on each resource associated, unless in
noPropResourceKeys . |
PropagationTaskInfo |
newTask(DerAttrHandler derAttrHandler,
Any<?> any,
ExternalResource resource,
ResourceOperation operation,
Provision provision,
Stream<? extends Item> mappingItems,
Pair<String,Set<Attribute>> preparedAttrs) |
List<PropagationTaskInfo> getCreateTasks(AnyTypeKind kind, String key, Boolean enable, PropagationByResource<String> propByRes, Collection<AttrTO> vAttrs, Collection<String> noPropResourceKeys)
noPropResourceKeys
.kind
- any object type kindkey
- any object keyenable
- whether any object should be enabled or notpropByRes
- operation to be performed per resourcevAttrs
- virtual attributes to be setnoPropResourceKeys
- external resources performing not to be considered for propagationList<PropagationTaskInfo> getUserCreateTasks(String key, String password, Boolean enable, PropagationByResource<String> propByRes, PropagationByResource<Pair<String,String>> propByLinkedAccount, Collection<AttrTO> vAttrs, Collection<String> noPropResourceKeys)
noPropResourceKeys
.key
- user keypassword
- to be setenable
- whether user must be enabled or notpropByRes
- operation to be performed per resourcepropByLinkedAccount
- operation to be performed for linked accountsvAttrs
- virtual attributes to be setnoPropResourceKeys
- external resources not to be considered for propagationList<PropagationTaskInfo> getUpdateTasks(AnyTypeKind kind, String key, boolean changePwd, Boolean enable, PropagationByResource<String> propByRes, PropagationByResource<Pair<String,String>> propByLinkedAccount, Collection<AttrTO> vAttrs, Collection<String> noPropResourceKeys)
noPropResourceKeys
.kind
- any object type kindkey
- any object keychangePwd
- whether password should be included for propagation attributes or notenable
- whether any object should be enabled or not, may be null to leave unchangedpropByRes
- operation to be performed per resourcepropByLinkedAccount
- operation to be performed for linked accountsvAttrs
- virtual attributes to be setnoPropResourceKeys
- external resource keys not to be considered for propagationList<PropagationTaskInfo> getUserUpdateTasks(UserWorkflowResult<Pair<UserPatch,Boolean>> wfResult, boolean changePwd, Collection<String> noPropResourceKeys)
noPropResourceKeys
.wfResult
- user to be propagated (and info associated), as per result from workflowchangePwd
- whether password should be included for propagation attributes or notnoPropResourceKeys
- external resources not to be considered for propagationList<PropagationTaskInfo> getUserUpdateTasks(UserWorkflowResult<Pair<UserPatch,Boolean>> wfResult)
wfResult
- user to be propagated (and info associated), as per result from workflowList<PropagationTaskInfo> getDeleteTasks(AnyTypeKind kind, String key, PropagationByResource<String> propByRes, PropagationByResource<Pair<String,String>> propByLinkedAccount, Collection<String> noPropResourceKeys)
noPropResourceKeys
.kind
- any object type kindkey
- any object keypropByRes
- operation to be performed per resourcepropByLinkedAccount
- operation to be performed for linked accountsnoPropResourceKeys
- external resource keys not to be considered for propagationPropagationTaskInfo newTask(DerAttrHandler derAttrHandler, Any<?> any, ExternalResource resource, ResourceOperation operation, Provision provision, Stream<? extends Item> mappingItems, Pair<String,Set<Attribute>> preparedAttrs)
List<PropagationTaskInfo> createTasks(Realm realm, PropagationByResource<String> propByRes, Collection<String> noPropResourceKeys)
noPropResourceKeys
.realm
- realmpropByRes
- operation to be performed per resourcenoPropResourceKeys
- external resource keys not to be considered for propagationCopyright © 2010–2023 The Apache Software Foundation. All rights reserved.