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 Statements within a given Assertion in the CH-EPR context.
Author:
Quentin Ligier
  • Field Details

  • Constructor Details

    • ChEprAttributeStatementValidator

      public ChEprAttributeStatementValidator()
  • Method Details

    • getServicedStatement

      public @NonNull QName getServicedStatement()
      Gets the element or schema type QName of the statement handled by this validator.
      Specified by:
      getServicedStatement in interface org.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 interface org.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.