Class JwksValidator
- java.lang.Object
-
- org.sourceid.saml20.adapter.gui.validation.impl.JwksValidator
-
- All Implemented Interfaces:
Serializable,FieldValidator
public class JwksValidator extends Object implements FieldValidator
This validator checks that the value of a field is a valid JSON Web Key Set (JWKS).
Validation is bypassed for empty field values.
- Since:
- 9.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JwksValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate(Field field)Implementations of this method can perform any necessary validation on the Field.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.sourceid.saml20.adapter.gui.validation.FieldValidator
isExternalValidator
-
-
-
-
Method Detail
-
validate
public void validate(Field field) throws ValidationException
Description copied from interface:FieldValidatorImplementations of this method can perform any necessary validation on the Field. If the field is deemed invalid, a ValidationException should be thrown with a descriptive error message.- Specified by:
validatein interfaceFieldValidator- Parameters:
field- the field (name and value) to validate.- Throws:
ValidationException- if the field is invalid.
-
-