Configure a resource mapping
Objects in external resources are specified in a mapping as system/name/object-type, where name is the name used in the connector configuration, and object-type is the object defined in the connector configuration list of object types. Objects in the repository are specified in the mapping as managed/object-type, where object-type is defined in the managed object configuration.
External resources, and Advanced Identity Cloud managed objects, can be the source or the target in a mapping. By convention, the mapping name is a string of the form source_target, as shown in the following example:
Basic LDAP Mapping
{
"mappings": [
{
"name": "systemLdapAccounts_managedUser",
"source": "system/ldap/account",
"target": "managed/realm-name_user",
"properties": [
{
"source": "lastName",
"target": "sn"
},
{
"source": "telephoneNumber",
"target": "telephoneNumber"
},
{
"target": "phoneExtension",
"default": "0047"
},
{
"source": "email",
"target": "mail",
"comment": "Set mail if non-empty.",
"condition": {
"type": "text/javascript",
"source": "(object.email != null)"
}
},
{
"source": "",
"target": "displayName",
"transform": {
"type": "text/javascript",
"source": "source.lastName +', ' + source.firstName;"
}
},
{
"source" : "uid",
"target" : "userName",
"condition" : "/linkQualifier eq \"user\""
}
},
]
}
]
}
In this example, the name of the source is the external resource (ldap), and the target is Advanced Identity Cloud’s user repository; specifically, managed/realm-name_user. The properties defined in the mapping correspond to attribute names defined in the Advanced Identity Cloud configuration. For example, the source attribute uid is defined in the ldap connector configuration file, rather than on the external resource itself.
Configure mappings using the admin console
To set up a synchronization mapping, use the Advanced Sync editor in the admin console.
Learn more in Create an advanced sync mapping.