Class ValidationSupport
- java.lang.Object
-
- se.litsec.opensaml.common.validation.ValidationSupport
-
public class ValidationSupport extends Object
Support methods and functions for validator implementations.- Author:
- Martin Lindström (martin.lindstrom@litsec.se)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classValidationSupport.ValidationResultExceptionException class that should be used internally by validators to process errors.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcheck(ValidationResult result)Checks if the result is VALID.
-
-
-
Method Detail
-
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
-
-