public abstract class AbstractAttributeStatementValidator extends Object implements StatementValidator
AttributeStatements.| Constructor and Description |
|---|
AbstractAttributeStatementValidator() |
| Modifier and Type | Method and Description |
|---|---|
QName |
getServicedStatement() |
ValidationResult |
validate(Statement statement,
Assertion assertion,
ValidationContext context)
Validates that all required attributes were received in the
AttributeStatement. |
protected abstract ValidationResult |
validateRequiredAttributes(List<Attribute> attributes,
AttributeStatement statement,
Assertion assertion,
ValidationContext context)
Validates that the attribute statement contains all attributes that we require.
|
public QName getServicedStatement()
getServicedStatement in interface StatementValidatorpublic ValidationResult validate(Statement statement, Assertion assertion, ValidationContext context) throws AssertionValidationException
AttributeStatement.validate in interface StatementValidatorAssertionValidationExceptionprotected abstract ValidationResult validateRequiredAttributes(List<Attribute> attributes, AttributeStatement statement, Assertion assertion, ValidationContext context)
attributes - the attributesstatement - the attribute statementassertion - the assertioncontext - the validation contextCopyright © 2018 Litsec AB. All rights reserved.