sync.json revision 7d83b6a03bd7b63f2eb6404d6cc1e4c074391ea7
af062818b47340eef15700d2f0211576ba3506eevboxsync{
af062818b47340eef15700d2f0211576ba3506eevboxsync "mappings" : [
af062818b47340eef15700d2f0211576ba3506eevboxsync {
af062818b47340eef15700d2f0211576ba3506eevboxsync "name" : "systemLdapAccounts_managedUser",
af062818b47340eef15700d2f0211576ba3506eevboxsync "source" : "system/ldap/account",
af062818b47340eef15700d2f0211576ba3506eevboxsync "target" : "managed/user",
af062818b47340eef15700d2f0211576ba3506eevboxsync "properties" : [
af062818b47340eef15700d2f0211576ba3506eevboxsync {
af062818b47340eef15700d2f0211576ba3506eevboxsync "source" : "cn",
af062818b47340eef15700d2f0211576ba3506eevboxsync "target" : "displayName"
af062818b47340eef15700d2f0211576ba3506eevboxsync },
af062818b47340eef15700d2f0211576ba3506eevboxsync {
af062818b47340eef15700d2f0211576ba3506eevboxsync "source" : "description",
af062818b47340eef15700d2f0211576ba3506eevboxsync "target" : "description"
af062818b47340eef15700d2f0211576ba3506eevboxsync },
af062818b47340eef15700d2f0211576ba3506eevboxsync {
af062818b47340eef15700d2f0211576ba3506eevboxsync "source" : "givenName",
af062818b47340eef15700d2f0211576ba3506eevboxsync "target" : "givenName"
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync },
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync {
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync "source" : "mail",
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync "target" : "mail"
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync },
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync {
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync "source" : "telephoneNumber",
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync "target" : "telephoneNumber"
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync },
af062818b47340eef15700d2f0211576ba3506eevboxsync {
af062818b47340eef15700d2f0211576ba3506eevboxsync "source" : "sn",
af062818b47340eef15700d2f0211576ba3506eevboxsync "target" : "sn"
af062818b47340eef15700d2f0211576ba3506eevboxsync },
af062818b47340eef15700d2f0211576ba3506eevboxsync {
af062818b47340eef15700d2f0211576ba3506eevboxsync "source" : "uid",
af062818b47340eef15700d2f0211576ba3506eevboxsync "target" : "userName"
af062818b47340eef15700d2f0211576ba3506eevboxsync }
af062818b47340eef15700d2f0211576ba3506eevboxsync ],
af062818b47340eef15700d2f0211576ba3506eevboxsync "policies" : [
af062818b47340eef15700d2f0211576ba3506eevboxsync {
af062818b47340eef15700d2f0211576ba3506eevboxsync "situation" : "CONFIRMED",
af062818b47340eef15700d2f0211576ba3506eevboxsync "action" : "UPDATE"
af062818b47340eef15700d2f0211576ba3506eevboxsync },
af062818b47340eef15700d2f0211576ba3506eevboxsync {
af062818b47340eef15700d2f0211576ba3506eevboxsync "situation" : "FOUND",
af062818b47340eef15700d2f0211576ba3506eevboxsync "action" : "UPDATE"
af062818b47340eef15700d2f0211576ba3506eevboxsync },
af062818b47340eef15700d2f0211576ba3506eevboxsync {
af062818b47340eef15700d2f0211576ba3506eevboxsync "situation" : "ABSENT",
af062818b47340eef15700d2f0211576ba3506eevboxsync "action" : "CREATE"
af062818b47340eef15700d2f0211576ba3506eevboxsync },
af062818b47340eef15700d2f0211576ba3506eevboxsync {
af062818b47340eef15700d2f0211576ba3506eevboxsync "situation" : "AMBIGUOUS",
af062818b47340eef15700d2f0211576ba3506eevboxsync "action" : "EXCEPTION"
af062818b47340eef15700d2f0211576ba3506eevboxsync },
af062818b47340eef15700d2f0211576ba3506eevboxsync {
af062818b47340eef15700d2f0211576ba3506eevboxsync "situation" : "MISSING",
af062818b47340eef15700d2f0211576ba3506eevboxsync "action" : "UNLINK"
af062818b47340eef15700d2f0211576ba3506eevboxsync },
af062818b47340eef15700d2f0211576ba3506eevboxsync {
af062818b47340eef15700d2f0211576ba3506eevboxsync "situation" : "SOURCE_MISSING",
af062818b47340eef15700d2f0211576ba3506eevboxsync "action" : "EXCEPTION"
af062818b47340eef15700d2f0211576ba3506eevboxsync },
af062818b47340eef15700d2f0211576ba3506eevboxsync {
af062818b47340eef15700d2f0211576ba3506eevboxsync "situation" : "UNQUALIFIED",
af062818b47340eef15700d2f0211576ba3506eevboxsync "action" : "IGNORE"
af062818b47340eef15700d2f0211576ba3506eevboxsync },
af062818b47340eef15700d2f0211576ba3506eevboxsync {
af062818b47340eef15700d2f0211576ba3506eevboxsync "situation" : "UNASSIGNED",
af062818b47340eef15700d2f0211576ba3506eevboxsync "action" : "IGNORE"
af062818b47340eef15700d2f0211576ba3506eevboxsync }
af062818b47340eef15700d2f0211576ba3506eevboxsync ]
af062818b47340eef15700d2f0211576ba3506eevboxsync },
af062818b47340eef15700d2f0211576ba3506eevboxsync {
af062818b47340eef15700d2f0211576ba3506eevboxsync "name" : "managedUser_systemLdapAccounts",
af062818b47340eef15700d2f0211576ba3506eevboxsync "source" : "managed/user",
af062818b47340eef15700d2f0211576ba3506eevboxsync "target" : "system/ldap/account",
af062818b47340eef15700d2f0211576ba3506eevboxsync "links" : "systemLdapAccounts_managedUser",
af062818b47340eef15700d2f0211576ba3506eevboxsync "correlationQuery" : {
af062818b47340eef15700d2f0211576ba3506eevboxsync "type" : "text/javascript",
af062818b47340eef15700d2f0211576ba3506eevboxsync "file" : "script/ldapBackCorrelationQuery.js"
af062818b47340eef15700d2f0211576ba3506eevboxsync },
af062818b47340eef15700d2f0211576ba3506eevboxsync "onCreate" : {
af062818b47340eef15700d2f0211576ba3506eevboxsync "type" : "text/javascript",
af062818b47340eef15700d2f0211576ba3506eevboxsync "source" : "target.dn = 'uid=' + source.userName + ',ou=People,dc=example,dc=com';"
af062818b47340eef15700d2f0211576ba3506eevboxsync },
af062818b47340eef15700d2f0211576ba3506eevboxsync "properties" : [
af062818b47340eef15700d2f0211576ba3506eevboxsync {
af062818b47340eef15700d2f0211576ba3506eevboxsync "source" : "givenName",
af062818b47340eef15700d2f0211576ba3506eevboxsync "target" : "givenName"
af062818b47340eef15700d2f0211576ba3506eevboxsync },
af062818b47340eef15700d2f0211576ba3506eevboxsync {
af062818b47340eef15700d2f0211576ba3506eevboxsync "source" : "sn",
"target" : "sn"
},
{
"source" : "",
"transform": {
"type": "text/javascript",
"source": "source.displayName || (source.givenName + ' ' + source.sn);"
},
"target" : "cn"
},
{
"source" : "userName",
"target" : "uid"
},
{
"source" : "description",
"target" : "description",
"condition" : {
"type" : "text/javascript",
"source" : "typeof(object.description) !== 'undefined' && object.description !== null;"
}
},
{
"source" : "mail",
"target" : "mail"
},
{
"source" : "password",
"transform" : {
"type" : "text/javascript",
"source" : "openidm.decrypt(source)"
},
"condition" : {
"type" : "text/javascript",
"source" : "object.password != null"
},
"target" : "password"
},
{
"source" : "telephoneNumber",
"target" : "telephoneNumber"
}
],
"policies" : [
{
"situation" : "CONFIRMED",
"action" : "UPDATE"
},
{
"situation" : "FOUND",
"action" : "LINK"
},
{
"situation" : "ABSENT",
"action" : "CREATE"
},
{
"situation" : "AMBIGUOUS",
"action" : "IGNORE"
},
{
"situation" : "MISSING",
"action" : "IGNORE"
},
{
"situation" : "SOURCE_MISSING",
"action" : "DELETE"
},
{
"situation" : "UNQUALIFIED",
"action" : "IGNORE"
},
{
"situation" : "UNASSIGNED",
"action" : "IGNORE"
}
]
}
]
}