Class RequestValidatorHandler


  • public class RequestValidatorHandler
    extends Object
    Initiates the custom validation of the resources
    Since:
    07.04.2021
    Author:
    Pascal Knueppel
    • Method Detail

      • validateCreate

        public void validateCreate​(ResourceNode resourceNode)
        execute the validation for creating a resource
        Parameters:
        resourceNode - the resource to create
      • validateUpdate

        public void validateUpdate​(Supplier<ResourceNode> oldResourceSupplier,
                                   ResourceNode newResource)
        execute the validation for updating a resource
        Parameters:
        oldResourceSupplier - extracts the old resource representation by calling the SCIM get-endpoint when * not already done by the ETag implementation
        resourceNode - the new resource representation