Class ArtifactResponseValidatorImpl

java.lang.Object
org.projecthusky.xua.saml2.validation.impl.AbstractValidator
org.projecthusky.xua.saml2.validation.impl.ArtifactResponseValidatorImpl
All Implemented Interfaces:
ArtifactResponseValidator, GenericValidator<ArtifactResponse>

public class ArtifactResponseValidatorImpl extends AbstractValidator implements ArtifactResponseValidator
Implementation class of ArtifactResponseValidator
Implementations Klasse von ArtifactResponseValidator
  • Constructor Details

    • ArtifactResponseValidatorImpl

      public ArtifactResponseValidatorImpl()
  • Method Details

    • setTrustStore

      public void setTrustStore(KeyStore trustStore, String password)
      Description copied from interface: GenericValidator
      Method to set the KeyStore with the keys/certificates used for the Validation.
      Methode um den KeyStore mit den Schlüsseln und Zertifikaten für die Validierung zu setzen.
      Specified by:
      setTrustStore in interface GenericValidator<ArtifactResponse>
      Parameters:
      trustStore -
      the truststore
      Der truststore
      password -
      the password for the store/key
      Das Passwort für den Store/Key
    • validate

      public void validate(ArtifactResponse aType, String aAlias) throws ValidationException
      Description copied from interface: GenericValidator
      Method to validate the instance of type T
      Methode um die Instanz vom Typ T zu validieren
      Specified by:
      validate in interface GenericValidator<ArtifactResponse>
      Parameters:
      aType -
      the instance of type T
      die Instanz vom Typ T
      aAlias -
      the the alias of the key
      der Alias des Keys der gebraucht werden soll
      Throws:
      ValidationException -
      will be thrown when an error occures while validating the instance of type T
      wird geworfen wenn ein Fehler beim Validieren der Instance von T auftreten