Class MetaAttributeValidator

java.lang.Object
de.captaingoldfish.scim.sdk.server.schemas.validation.MetaAttributeValidator

public class MetaAttributeValidator extends Object
Since:
24.04.2021
Author:
Pascal Knueppel
  • Constructor Details

    • MetaAttributeValidator

      public MetaAttributeValidator()
  • Method Details

    • validateAttribute

      public static Optional<com.fasterxml.jackson.databind.JsonNode> validateAttribute(SchemaAttribute schemaAttribute, com.fasterxml.jackson.databind.JsonNode attribute)
      will validate an attribute in the context of meta-attribute validation. In such a context attributes like "returned", "mutability" etc. will have no effect
      Parameters:
      schemaAttribute - the attributes definition
      attribute - the attribute to validate
      Returns:
      the validated node or an empty if the node can be ignored