-
Notifications
You must be signed in to change notification settings - Fork 2
import mapping
Ryan Newington edited this page Jun 6, 2016
·
3 revisions
The import-mapping
element contains instructions for the MA to extract objects returned command and import them into FIM. The element has the following child elements;
- object-extract (mandatory)
- multivalue-extracts (optional)
- attribute-transformations (optional)
- object-filters (optional)
- modification-type-mappings (required for delta import operations, must not be present on a full import operation) Example
<import-mapping>
<object-extract><![CDATA[^(?<accountName>.+)?:\*?:(?<gid>.+)?:(?<members>.+)?$]]></object-extract>
<multivalue-extracts>
<multivalue-extract capture-group-name="members" attribute="member"><![CDATA[\w\d- ]+]]></multivalue-extract>
</multivalue-extracts>
<attribute-transformations>
<attribute-transformation attribute="member" regex-find=".+" regex-replace="cn=$&,ou=users"/>
</attribute-transformations>
<object-filters>
<object-filter attribute="accountName" operator="Equals">svc-fim</object-filter>
</object-filters>
<#-- used for delta imports only -->
<modification-type-mappings capture-group-name="changeType" unexpected-modification-type-action="ignore">
<modification-type-add>a</modification-type-add>
<modification-type-replace>r</modification-type-replace>
<modification-type-delete>d</modification-type-delete>
</modification-type-mappings>
</import-mapping>