Class AbstractValidator

java.lang.Object
org.projecthusky.xua.saml2.validation.impl.AbstractValidator
Direct Known Subclasses:
ArtifactResponseValidatorImpl, AssertionValidatorImpl, ResponseValidatorImpl

public abstract class AbstractValidator extends Object
Abstract class implementing the generic functions for all validators.
Abstrakte Klasse implementiert alle generischen Funktionen für die Validatoren.
  • Constructor Details

    • AbstractValidator

      public AbstractValidator()
  • Method Details

    • getLog

      public org.slf4j.Logger getLog()
      Method to get logger.
      Returns:
      returns the logger
    • getPassword

      public String getPassword()
      Method to get password.
      Returns:
      returns the password
    • getTrustStore

      public KeyStore getTrustStore()
      Method to get truststore.
      Returns:
      returns the truststore
    • setPassword

      public void setPassword(String password)
      Method to set password
      Parameters:
      password - the password to be set
    • setTrustStore

      public void setTrustStore(KeyStore trustStore)
      Method to set trustStore.
      Parameters:
      trustStore - the trustStore to be set
    • validate

      public void validate(org.opensaml.xmlsec.signature.Signature aSignature, String aAlias) throws ValidationException
      Method to validate signatures.
      Parameters:
      aSignature - the signature instance
      aAlias - the alias
      Throws:
      ValidationException - will be thrown on validation errors