Class AssertionValidatorImpl

java.lang.Object
org.projecthusky.xua.saml2.validation.impl.AbstractValidator
org.projecthusky.xua.saml2.validation.impl.AssertionValidatorImpl
All Implemented Interfaces:
AssertionValidator, GenericValidator<Assertion>

public class AssertionValidatorImpl extends AbstractValidator implements AssertionValidator
Implementation class of AssertionValidator
Implementations Klasse von AssertionValidator
  • Constructor Details

    • AssertionValidatorImpl

      public AssertionValidatorImpl()
  • Method Details

    • setTrustStore

      public void setTrustStore(KeyStore keyStore, 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<Assertion>
      Parameters:
      keyStore -
      the truststore
      Der truststore
      password -
      the password for the store/key
      Das Passwort für den Store/Key
    • validate

      public void validate(Assertion 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<Assertion>
      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