Class RequestValidatorHandler

java.lang.Object
de.captaingoldfish.scim.sdk.server.endpoints.validation.RequestValidatorHandler

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

  • Method Details

    • 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