A 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 directory, (as would be the case if the mapped LDAP attribute is entryUUID).

If the LDAP attribute value is not listed as destination correlation attribute, this setting is not used by PingDirectory Server.

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>