Number SCIM 2.0 attribute mappings
You can use number System for Cross-domain Identity Management (SCIM) 2.0 attribute mappings for cases in which the SCIM attribute has a value that is a single JavaScript Object Notation (JSON) number (whether integer or floating-point) or an array of JSON numbers. The value will not be transformed in any way when converting between the Lightweight Directory Access Protocol (LDAP) and SCIM representations of an entry.
Additional configuration properties that are available for number SCIM 2.0 attribute mappings include:
ldap-attribute-name
-
The name of the LDAP attribute (in the mapped representation of the source entry generated by the sync class) whose values will be used as the values of the SCIM 2.0 attribute. This is required, and the LDAP attribute must have values that can be parsed as JSON numbers.
single-valued
-
Indicates whether the SCIM 2.0 attribute is single-valued or multivalued. If this is
true
, then the SCIM 2.0 representation of the attribute value will be as a JSON string. If this isfalse
, then the SCIM 2.0 representation of the attribute value will be as a JSON array of strings.
You can use the following example configuration change to create a number SCIM 2.0 attribute mapping:
dsconfig create-scim2-attribute-mapping \ --mapping-name "Example Numeric Value" \ --type number \ --set scim-attribute-name:exampleSCIMAttributeName \ --set ldap-attribute-name:exampleLDAPAttributeName \ --set attribute-usage:fetch \ --set attribute-usage:create-during-realtime-sync \ --set attribute-usage:create-during-resync \ --set attribute-usage:update-during-realtime-sync \ --set attribute-usage:update-during-resync \ --set single-valued:true