Francesco Chicchiriccò created SYNCOPE-1822:
-----------------------------------------------

             Summary: SCIM: support user extension
                 Key: SYNCOPE-1822
                 URL: https://issues.apache.org/jira/browse/SYNCOPE-1822
             Project: Syncope
          Issue Type: Improvement
          Components: documentation, extensions
            Reporter: Francesco Chicchiriccò
             Fix For: 3.0.8, 4.0.0


Syncope currently allows to manage JSON payloads as follows:
{code:java}
{
  "schemas":
    ["urn:ietf:params:scim:schemas:core:2.0:User",
     "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"],
  "id": "2819c223-7f76-453a-919d-413861904646",
  "externalId": "701984",
  "userName": "bjen...@example.com",
  ...
  "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {
    "employeeNumber": "701984",
  ...
  }
}
{code}
by mapping all attributes from the SCIM 2.0 specs to Syncope schemas.

Enterprise User, in particular, is a standard SCIM 2.0 extension with 
[well-defined attributes|https://www.rfc-editor.org/rfc/rfc7643#section-4.3].

We want to enable Syncope to allow JSON payloads as follows:
{code:java}
{
  "schemas":
    ["urn:ietf:params:scim:schemas:core:2.0:User",
     "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"],
     "urn:ietf:params:scim:schemas:extension:syncope:2.0:User"],
  "id": "2819c223-7f76-453a-919d-413861904646",
  "externalId": "701984",
  "userName": "bjen...@example.com",
  ...
  "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {
    "employeeNumber": "701984",
  ...
  }
  "urn:ietf:params:scim:schemas:extension:syncope:2.0:User": {
    "myfancyparam": "my fancy value",
  ...
  }
}
{code}
In this way, one can add as many custom attributes as needed, via the 
{{urn:ietf:params:scim:schemas:extension:syncope:2.0:User}} SCIM 2.0 extension.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to