Class MsAzurePatchReplaceWorkaroundHandler


  • public final class MsAzurePatchReplaceWorkaroundHandler
    extends Object
    This class is a workaround handler in order to handle the broken patch requests of Microsoft Azure. Azure sends illegal patch-remove requests that looks as follows:
     PATCH /scim/Users/2752513
     {
         "schemas": [
             "urn:ietf:params:scim:api:messages:2.0:PatchOp"
         ],
         "Operations": [
             {
                 "op": "replace",
                 "value": {
                     "name.givenName": "captain",
                     "name.familyName": "goldfish"
                 }
             }
         ]
     }
     
    the value in the request must not be present. Instead the request should look like this:
     PATCH /scim/Users/2752513
     {
         "schemas": [
             "urn:ietf:params:scim:api:messages:2.0:PatchOp"
         ],
         "Operations": [
             {
                 "op": "replace",
                 "value": {
                     "name": {
                         "givenName": "captain",
                         "familyName": "goldfish"
                     }
                 }
             }
         ]
     }
     
    • Constructor Detail

      • MsAzurePatchReplaceWorkaroundHandler

        public MsAzurePatchReplaceWorkaroundHandler​(PatchOp patchOp,
                                                    List<String> values)