public abstract class AbstractAttributeStatementValidator extends Object implements StatementValidator
AttributeStatement
s.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 StatementValidator
public ValidationResult validate(Statement statement, Assertion assertion, ValidationContext context) throws AssertionValidationException
AttributeStatement
.validate
in interface StatementValidator
AssertionValidationException
protected 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.