The content below is for Apache Syncope <= 1.2 - for later versions the Reference Guide is available.

The figure below summarizes the various flows involving role-related CRUD operations.

Role-related operations can be:

  1. initiated by REST calls
    1. via RoleController - an operation is requested on a given role
    2. via TaskController - a synchronization task is requested for execution
  2. triggered by Quartz

At this point RoleController or SyncResultHandler will take care of:

  1. invoking the defined workflow adapter (via RoleWorkflowAdapter)
  2. creating the needed PropagationTask instances via PropagationManager and executing via PropagationTaskExecutor

In addition to this, the SyncResultHandler will consider the provided role template in the given SyncTask when creating or updating roles.