Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Locate the provisioning-config.xml file in the path [IS-HOME]/repository/conf/identity/provisioning-config.xml.
  2. Open the file and locate the "user-schema-extension-enabled" property and set it to true.

    Code Block
    <Property name=”user"user-schema-extension-enabled”>true<enabled">true</Property>
  3. Locate the scim-schema-extension.config in the path [IS-HOME]/repository/conf/identity/ and add 'somefield' attribute. 

    Code Block
    {
    "attributeURI":"urn:scim:schemas:extension:wso2:1.0:wso2Extension.somefield",
    "attributeName":"somefield",
    "dataType":"string",
    "multiValued":"false",
    "multiValuedAttributeChildName":"null",
    "description":"The uid of the user",
    "schemaURI":"urn:scim:schemas:extension:wso2:1.0",
    "readOnly":"false",
    "required":"false",
    "caseExact":"false",
    "subAttributes":"null"
    },
    Note

    Make sure that the 'somefield' attribute is added as the penultimate one, that is just before 'wso2extension' attribute.

  4. Add 'somefield' as a sub attribute of 'wso2extension'.

    Code Block
    "subAttributes":"employeeNumber costCenter organization division department manager somefield"
  5. Save the file and restart the server.

...