Class ChEprAttributeStatementValidator
java.lang.Object
org.projecthusky.xua.validation.statement.ChEprAttributeStatementValidator
- All Implemented Interfaces:
org.opensaml.saml.saml2.assertion.StatementValidator
@ThreadSafe
public class ChEprAttributeStatementValidator
extends Object
implements org.opensaml.saml.saml2.assertion.StatementValidator
Validator used to validate
Statement
s within a given Assertion
in the CH-EPR context.- Author:
- Quentin Ligier
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull QName
Gets the element or schema type QName of the statement handled by this validator.@NonNull org.opensaml.saml.common.assertion.ValidationResult
validate
(org.opensaml.saml.saml2.core.Statement statement, org.opensaml.saml.saml2.core.Assertion assertion, org.opensaml.saml.common.assertion.ValidationContext context) Validates the given statement.
-
Field Details
-
ERRMSG_CONTAINS_INVALID_VALUE
- See Also:
-
ERRMSG_ATTRIBUTE
- See Also:
-
-
Constructor Details
-
ChEprAttributeStatementValidator
public ChEprAttributeStatementValidator()
-
-
Method Details
-
getServicedStatement
Gets the element or schema type QName of the statement handled by this validator.- Specified by:
getServicedStatement
in interfaceorg.opensaml.saml.saml2.assertion.StatementValidator
-
validate
public @NonNull org.opensaml.saml.common.assertion.ValidationResult validate(org.opensaml.saml.saml2.core.Statement statement, org.opensaml.saml.saml2.core.Assertion assertion, org.opensaml.saml.common.assertion.ValidationContext context) Validates the given statement.- Specified by:
validate
in interfaceorg.opensaml.saml.saml2.assertion.StatementValidator
- Parameters:
statement
- The statement to be validated.assertion
- The assertion bearing the statement.context
- The current Assertion validation context.- Returns:
- The validation result.
-