Class MsAzurePatchAttributeRebuilder

java.lang.Object
de.captaingoldfish.scim.sdk.server.patch.msazure.MsAzurePatchAttributeRebuilder

public final class MsAzurePatchAttributeRebuilder extends Object
This class is a workaround handler in order to handle the broken patch requests of Microsoft Azure. Azure sends illegal patch requests that look 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 Details

  • Method Details