Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add support for PATCH verb to service #29
Currently SCIM service does not officially support PATCH operation. According to spec, patching is one of the mechanisms that allows a SCIM client to remove (nullify) an already non-empty attribute.
PUT operation MAY cope for attribute removal (see RFC 7644 section 3.5.1). In current implementation an unassigned/nulled attribute passed to the service simply leaves the stored attribute value intact. IMO this is right: clearing attributes not being passed can lead to unintentional info erasure, and thus, complaints.
Current scim server code in oxTrust for patching is not complete yet and deviates from spec. Needs work.
This was referenced
Nov 4, 2017
A new partial implementation for PATCH has been developed.
This impl supports add/replace/remove operations and all behaviors as per spec, excluding support for value selection ("valuePath") filters.
This implies that there is no way to delete or change a specific item from a multivalued attribute. So all subattributes within multi-valued attributes are being patched (be it addition, replacement, or deletion)
Some relevant references: