Hi All,
Currently WSO2 Identity Server does not support PATCH method for SCIM end
points.
The major limitation came up with that is in order to add single user into
a group, new user has to be sent with all existing users.
Above requirement can be archived by adding PATCH method support for JAX-RS
implementation and doing mirror changes to update group operation.
But according to the spec [1] PATCH method has many powerful features like
selectively sending added users and deleted users.
Example
PATCH /Groups/acbf3ae7-8463-4692-b4fd-9b4da3f908ce
{
"schemas": ["urn:scim:schemas:core:2.0:Group"],
"members": [
{
"display": "Babs Jensen",
"$ref":
"https://example.com/v1/Users/2819c223-7f76-453a-919d-413861904646",
"value": "2819c223-7f76-453a-919d-413861904646"
"operation": "delete"
},
{
"display": "James Smith",
"$ref":
"https://example.com/v1/Users/08e1d05d-121c-4561-8b96-473d93df9210",
"value": "08e1d05d-121c-4561-8b96-473d93df9210"
}
]
}
Current charon [2] implementation does not decode single member into member
object and rather it sends members id as a String array list or members
display name as a String array list. This is a kind of major bottleneck to
implement selective delete operation.
Are we going to scope PATCH implementation?
WDYT?
[1] http://tools.ietf.org/html/draft-ietf-scim-api-02#section-3.3.2
[2] https://docs.wso2.com/display/IS500/Working+with+SCIM
--
Gayan Gunawardana
Software Engineer; WSO2 Inc.; http://wso2.com/
Email: [email protected]
Mobile: +94 (71) 8020933
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture