PingDirectory

About the resourceIDMapping element

The resourceIDMapping element has the following XML attributes:

  • ldapAttribute: a required element specifying the name of the LDAP attribute to which the SCIM resource ID maps.

  • createdBy: a required element specifying the source of the resource ID value when a new resource is created by the SCIM consumer using a POST operation. Allowable values for this element include scim-consumer, meaning that a value must be present in the initial resource content provided by the SCIM consumer, or the PingDirectory server, meaning that a value is automatically provided by the server (as would be the case if the mapped LDAP attribute is entryUUID).

The following example illustrates an LDAPSearch element that contains a resourceIDMapping element:

<LDAPSearch id="userSearchParams">
  <baseDN>ou=people,dc=example,dc=com</baseDN>
  <filter>(objectClass=inetOrgPerson)</filter>
  <resourceIDMapping ldapAttribute="entryUUID" createdBy="directory"/>
</LDAPSearch>