Class ChEprSubjectConfirmationBearerValidator

java.lang.Object
org.projecthusky.xua.validation.subject.ChEprSubjectConfirmationBearerValidator
All Implemented Interfaces:
org.opensaml.saml.saml2.assertion.SubjectConfirmationValidator

public class ChEprSubjectConfirmationBearerValidator extends Object implements org.opensaml.saml.saml2.assertion.SubjectConfirmationValidator
Validator that confirms the Subject of the issuer by evaluating the SubjectConfirmations within that subject.
Author:
Quentin Ligier
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the subject confirmation method handled by this validator.
    org.opensaml.saml.common.assertion.ValidationResult
    validate(org.opensaml.saml.saml2.core.SubjectConfirmation confirmation, @Nullable org.opensaml.saml.saml2.core.Assertion assertion, org.opensaml.saml.common.assertion.ValidationContext context)
    Confirms the Subject by means of the given SubjectConfirmation.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ChEprSubjectConfirmationBearerValidator

      public ChEprSubjectConfirmationBearerValidator()
  • Method Details

    • getServicedMethod

      public String getServicedMethod()
      Gets the subject confirmation method handled by this validator.
      Specified by:
      getServicedMethod in interface org.opensaml.saml.saml2.assertion.SubjectConfirmationValidator
    • validate

      public org.opensaml.saml.common.assertion.ValidationResult validate(org.opensaml.saml.saml2.core.SubjectConfirmation confirmation, @Nullable org.opensaml.saml.saml2.core.Assertion assertion, org.opensaml.saml.common.assertion.ValidationContext context)
      Confirms the Subject by means of the given SubjectConfirmation.
      Specified by:
      validate in interface org.opensaml.saml.saml2.assertion.SubjectConfirmationValidator
      Parameters:
      confirmation - The subject confirmation information.
      assertion - The assertion bearing the subject. It is not used by the validator.
      context - The current Assertion validation context.
      Returns:
      The validation result.
      Implementation Note:
      The context validation failure message is lost in SAML20AssertionValidator, it's useless to set it here.