Class MsAzurePatchAttributeRebuilder
java.lang.Object
de.captaingoldfish.scim.sdk.server.patch.msazure.MsAzurePatchAttributeRebuilder
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 Summary
ConstructorsConstructorDescriptionMsAzurePatchAttributeRebuilder(PatchOp patchOp, List<String> values, ResourceType resourceType) -
Method Summary
-
Constructor Details
-
MsAzurePatchAttributeRebuilder
public MsAzurePatchAttributeRebuilder(PatchOp patchOp, List<String> values, ResourceType resourceType)
-
-
Method Details
-
fixValues
-