Class ResponseSchemaValidator
- java.lang.Object
-
- de.captaingoldfish.scim.sdk.server.schemas.validation.AbstractSchemaValidator
-
- de.captaingoldfish.scim.sdk.server.schemas.validation.ResponseSchemaValidator
-
public class ResponseSchemaValidator extends AbstractSchemaValidator
- Since:
- 24.04.2021
- Author:
- Pascal Knueppel
-
-
Field Summary
-
Fields inherited from class de.captaingoldfish.scim.sdk.server.schemas.validation.AbstractSchemaValidator
resourceNodeType
-
-
Constructor Summary
Constructors Constructor Description ResponseSchemaValidator(ServiceProvider serviceProvider, Class resourceNodeType, List<SchemaAttribute> attributesList, List<SchemaAttribute> excludedAttributesList, com.fasterxml.jackson.databind.JsonNode requestDocument, BiFunction<String,String,String> referenceUrlSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Optional<com.fasterxml.jackson.databind.JsonNode>validateAttribute(SchemaAttribute schemaAttribute, com.fasterxml.jackson.databind.JsonNode attribute)validates the attribute in a response context-
Methods inherited from class de.captaingoldfish.scim.sdk.server.schemas.validation.AbstractSchemaValidator
checkDocumentAndMetaSchemaRelationship, getAttributeExtractor, validateDocument, validateDocument
-
-
-
-
Constructor Detail
-
ResponseSchemaValidator
public ResponseSchemaValidator(ServiceProvider serviceProvider, Class resourceNodeType, List<SchemaAttribute> attributesList, List<SchemaAttribute> excludedAttributesList, com.fasterxml.jackson.databind.JsonNode requestDocument, BiFunction<String,String,String> referenceUrlSupplier)
-
-
Method Detail
-
validateAttribute
protected Optional<com.fasterxml.jackson.databind.JsonNode> validateAttribute(SchemaAttribute schemaAttribute, com.fasterxml.jackson.databind.JsonNode attribute)
validates the attribute in a response context- Specified by:
validateAttributein classAbstractSchemaValidator- Parameters:
schemaAttribute- the definition of the attribute that must be validatedattribute- the attribute to validate- Returns:
- the validated attribute
-
-