The SAP User driver can be queried for ACTIVITYGROUP objects and all other PDOBJECTS in the SAP User database so that they may be synchronized into the Identity Vault, and used by the administrator through a browse interface. To do this, the default class mapping must be manually changed to the following:
Identity Vault Class |
SAP User Field Description |
SAP User Field(s) |
---|---|---|
Organizational Role |
PDOBJECT |
Organizational Role |
The following sections explain what you need to do to allow support for querying of the Organizational Role class:
To edit the Global Configuration Values (GCV), follow these steps:
In iManager, browse to the driver, and click the upper right corner of the driver icon.
Select the
link.The Driver Configuration window is displayed.
Click the
tab.A list of the existing GCV values is displayed.
Click the
tab to open the XML Editor window.Select the
checkbox and add the following XML code:
<definition display-name="Organizational Role Placement"
dn-space="dirxml" dn-type="slash" name="sap-pdobject-placement" type="dn">
<description>
The name of the Organizational Role object under which published SAP Organizational Roles will be placed.
</description>
<value> </value>
</definition>
Click
and to save the changes.The updated GCV is now displayed in the list.
Browse and select the container in the Identity Vault where you want to place the Organizational Role.
Click
A new rule is required in the placement policy, to place the Organizational Role object in. Follow these steps to create the new rule:
In iManager, click on the driver icon.
The Identity Manager Overview screen is displayed.
In the publisher channel, click on the Placement Policies icon.
The Publisher Placement policy window is displayed.
Click the existing default publisher placement policy.
The Policy Rules screen is displayed.
Click the Edit XML tab.
The XML Editor window is displayed.
Select the
checkbox and add the following XML code:
<rule>
<description>Organizational Role Placement</description>
<conditions>
<or>
<if-class-name op="equal">
Organizational Role
</if-class-name>
</or>
<or>
<if-op-attr name="CN" op="available"/>
</or>
</conditions>
<actions>
<do-set-op-dest-dn>
<arg-dn>
<token-global-variable name="sap-pdobject-placement"/>
<token-text xml:space="preserve">\</token-text>
<token-escape-for-dest-dn>
<token-op-attr name="CN"/>
</token-escape-for-dest-dn>
</arg-dn>
</do-set-op-dest-dn>
</actions>
</rule>
Click
and to save the changes.Click
to close the Publisher Placement Policy window.The XSLT file must be modified so that it triggers events only for the USER class. To modify the XSLT file, follow these steps:
From the Identity Manager Driver Overview page, click on the Creation Policies icon on the publisher channel of the driver.
The Publisher Creation Policy window is displayed.
Click the
link.The XML Editor window is displayed.
Search for the following XML code: <xsl:template match="add">
Replace it with the following code:
<xsl:template match="add[@class-name='User']">
Click
and to save the changes .Click
to close the Publisher Placement Policy window.To add the Organizational Role class, and to change the default class mapping, follow these steps:
From the Identity Manager Driver Overview page, click the ‘Driver Filter’ icon in the publisher channel.
Click the
tab.A pop-up window is displayed.
Click the
link.A list of the available classes is displayed in alphabetical order.
Scroll down to the class Organizational Role, and click on it.
In the
field on the right, browse and select the SAP User class PDOBJECT that will be mapped to Organizational Role.Click
to confirm the mapping.From the filter window, select Organizational Role, and click on the
tab.A list of the available attributes is displayed.
Select the
attribute and clickIn the
field on the right, browse and select the SAP attributeSelect Organizational Role again and click the
tab.Select the
attribute and click .In the Application Name field on your right, browse and select the
attribute.Click
In the Filter window, select the Organizational Role class.
In the text field on the right, delete PDOBJECT and replace it with AG.
Click
to save the changes.Click
and select the option in the publisher channel.Click the
attribute and select the option in the publisher channel.Click the
attribute and select the option in the publisher channel.Click
and to save the changes, and close the Filter window.To migrate ACTIVITYGROUP objects into the Identity Vault, ensure that the driver is running and follow these steps:
From the Identity Manager Driver Overview window, click
> .The Migrate Data into the Identity Vault window is displayed.
To migrate a single ACTIVITYGROUP object, follow these steps:
Click the
tab.The Edit Migration Criteria dialog box is displayed.
Select the Organizational Role class from the list on the left side of the window.
Select the
attribute and click .The Attribute Value dialog box is displayed.
Enter a valid value for the
attribute and clickExample of a valid attribute: SAP_ESSUSER
Click
to confirm the entered value, and close the dialog box.Click
again in the Migrate Data into the Identity Vault window, to start the migration.You will see that the
box is now checked, indicating that migration has started.To migrate all ACTIVITYGROUP objects, follow these steps:
Click the
tab.The Edit Migration Criteria dialog box is displayed.
Select the Organizational Role class from the list, and click
.Click
again in the Migrate Data into the Identity Vault window, to start the migration.To verify that the objects you selected have been migrated successfully, you can browse to the container that you specified in the Organizational Role placement policy. Successful migration can also be verified by looking at the DSTRACE window.