Interface GenericValidator<T>
- Type Parameters:
T
-
- All Known Subinterfaces:
ArtifactResponseValidator
,AssertionValidator
,ResponseValidator
- All Known Implementing Classes:
ArtifactResponseValidatorImpl
,AssertionValidatorImpl
,ResponseValidatorImpl
public interface GenericValidator<T>
Interface describing the generic Methods for the validation of Assertions.
Interface welches die generischen Methoden für die Validierung von Assertions beschreibt.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setTrustStore
(KeyStore trustStore, String password) 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.void
Method to validate the instance of type T Methode um die Instanz vom Typ T zu validieren
-
Method Details
-
setTrustStore
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.- Parameters:
trustStore
-the truststoreDer truststorepassword
-the password for the store/keyDas Passwort für den Store/Key
-
validate
Method to validate the instance of type TMethode um die Instanz vom Typ T zu validieren- Parameters:
aType
-the instance of type Tdie Instanz vom Typ TaAlias
-the the alias of the keyder Alias des Keys der gebraucht werden soll- Throws:
ValidationException
-will be thrown when an error occures while validating the instance of type Twird geworfen wenn ein Fehler beim Validieren der Instance von T auftreten
-