[ 
https://issues.apache.org/jira/browse/SYNCOPE-1822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17863681#comment-17863681
 ] 

ASF subversion and git services commented on SYNCOPE-1822:
----------------------------------------------------------

Commit 7255d4793aa4cfab02634664ea59ed66a02be240 in syncope's branch 
refs/heads/3_0_X from Francesco Chicchiriccò
[ https://gitbox.apache.org/repos/asf?p=syncope.git;h=7255d4793a ]

[SYNCOPE-1822] Prevent NPE


> 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ò
>            Assignee: Samuel Garofalo
>            Priority: Major
>              Labels: scim
>             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