Import Provisioning to FileSystem
Workflow to import provisioning data.
Import Provisioning to FileSystem imports provisioning data from a file-system LDIF file into a
DirX Identity domain. Administrators use it to restore or deploy a provisioning configuration —
roles, permissions, groups and their assignments — that was previously exported to the file system
by the Export Provisioning to FileSystem workflow.
The perform activity supports a simulation mode (simulationmode simulateLDIF) that writes a
preview to simulationfilename without committing changes, alongside a diagnostic trace in
tracefilename.
The workflows in this reference are delivered as factory data and are loaded into the Connectivity configuration database during the initial configuration. They are samples: use the Identity Manager to copy a workflow into your own scenario and adapt the copy. Do not change the delivered objects, because a product update can replace them.
At a Glance
Name |
|
Category |
Ldap2Fs |
Technology |
Java-based real-time workflow |
LDAP object class |
|
Workflow type |
|
Connected system / controller type |
- |
Configuration wizard |
|
Active in the factory data |
FALSE |
Factory data version |
8.1 |
Factory data path |
|
Prerequisites
-
A provisioning data LDIF file must exist in the file-system location configured for the
performactivity. -
The Java-based Server must have read access to that file-system location.
-
The
domainparameter of theperformactivity must point to the correct company DN (cn=My-Companyby default).
Workflow and Activities
| Activity | Type | Component description | Description | Ports |
|---|---|---|---|---|
|
|
|
Error Activity |
|
|
|
|
Activity for performing the ldap to filesystem task |
- |
Ports
| Activity | Port | Component description | Connector | Connected directory | Bind profile | SSL |
|---|---|---|---|---|---|---|
|
|
|
|
- |
- |
not set |
Configuration Parameters
| Parameter | Default value |
|---|---|
|
P0Y0M4DT0H0M0S |
| Parameter | Default value |
|---|---|
|
LDAP |
|
0 |
|
P0Y0M1DT0H0M0S |
|
P0Y0M0DT0H0M0S |
| Parameter | Default value |
|---|---|
|
dxmPassword |
| Parameter | Default value |
|---|---|
|
cn=My-Company |
|
9 |
|
workflowengine |
|
0 |
|
exportSim.txt |
|
simulateLDIF |
|
P0Y0M1DT0H0M0S |
|
exportTrace.txt |
|
P0Y0M0DT0H0M0S |
A Java-based real-time workflow runs as a permanently loaded configuration in the Java-based Server (IdS-J). It is triggered by a request or an event rather than by a schedule. Each workflow consists of activities; an activity opens one port per system it talks to, and each port uses a connector to reach that system.
Most provisioning workflows contain a join activity that performs the actual work and an error
activity that receives requests which still fail after all retries and sends a notification about
them. The retrylimit, waitbeforeretry and timeout parameters of an activity control how often
and how long a failed request is retried before it is handed to the error activity.
The event port publishes change events over JMS, and the notify port sends e-mail notifications.
Neither port is bound to a connected directory.
The perform activity uses the ldap2fsActivity component with the Server type to carry out the
import directly within the Java-based Server. It has no external connector ports. The domain
parameter identifies the target domain DN, and loglevel (9) controls diagnostic verbosity.
When simulationmode is simulateLDIF (the default), the activity writes the simulated LDIF output
to simulationfilename and a trace to tracefilename without committing changes.
Because retrylimit is 0, a failure is not retried: the request is passed immediately to the
error activity, which sends a notification via the Message port.
Operation
-
An import request is submitted to the
Import Provisioning to FileSystemworkflow, typically through the Identity Manager. -
The
performactivity reads the provisioning data LDIF file from the file system and imports the roles, permissions, groups and assignments into the domaincn=My-Company. -
When
simulationmodeissimulateLDIF, the activity writes a simulation file (exportSim.txt) and a trace file (exportTrace.txt) without making permanent changes. -
If the import fails, the request is passed immediately to the
erroractivity (retrylimitis0), which reports the failure by e-mail through theMessageport.
The workflow is delivered inactive (dxmActive is FALSE). Copy it into your own scenario, verify
the domain parameter and the input file path, and activate the copy.