Class ValidationSupport
java.lang.Object
se.swedenconnect.opensaml.common.validation.ValidationSupport
Support methods and functions for validator implementations.
- Author:
- Martin Lindström (martin@idsec.se)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classException class that should be used internally by validators to process errors. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheck(ValidationResult result) Checks if the result is VALID.
-
Method Details
-
check
public static void check(ValidationResult result) throws ValidationSupport.ValidationResultException Checks if the result is VALID. If not aValidationResultExceptionis thrown.- Parameters:
result- the result to check- Throws:
ValidationSupport.ValidationResultException- for non-VALID results
-