Interface StatementValidator
- All Known Implementing Classes:
AuthnStatementValidator
@ThreadSafe
public interface StatementValidator
-
Method Summary
Modifier and TypeMethodDescriptionGets the element or schema type QName of the statement handled by this validator.validate
(Statement statement, Assertion assertion, ValidationContext context) Validates the given statement.
-
Method Details
-
getServicedStatement
Gets the element or schema type QName of the statement handled by this validator.- Returns:
- element or schema type QName of the statement handled by this validator
-
validate
@Nonnull ValidationResult validate(@Nonnull Statement statement, @Nonnull Assertion assertion, @Nonnull ValidationContext context) throws AssertionValidationException Validates the given statement.- Parameters:
statement
- statement to be validatedassertion
- assertion bearing the statementcontext
- current Assertion validation context- Returns:
- the validation result
- Throws:
AssertionValidationException
- if there is a problem processing the validation operation
-