Class ResourceSetDescriptionValidator
- java.lang.Object
-
- org.forgerock.oauth2.restlet.resources.ResourceSetDescriptionValidator
-
@Singleton public class ResourceSetDescriptionValidator extends Object
Validates that the resource set description is valid.- Since:
- 13.0.0
-
-
Constructor Summary
Constructors Constructor Description ResourceSetDescriptionValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>validate(Map<String,Object> resourceSetDescription)Validates that the resource set description is valid.
-
-
-
Method Detail
-
validate
public Map<String,Object> validate(Map<String,Object> resourceSetDescription) throws BadRequestException
Validates that the resource set description is valid.- Parameters:
resourceSetDescription- The resource set description to validate.- Returns:
- The same resource set description.
- Throws:
BadRequestException- If any part of the resource set description is not valid.
-
-