Class AbstractValidator
java.lang.Object
org.projecthusky.xua.saml2.validation.impl.AbstractValidator
- Direct Known Subclasses:
ArtifactResponseValidatorImpl,AssertionValidatorImpl,ResponseValidatorImpl
Abstract class implementing the generic functions for all validators.
Abstrakte Klasse implementiert alle generischen Funktionen für die Validatoren.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.slf4j.LoggergetLog()Method to get logger.Method to get password.Method to get truststore.voidsetPassword(String password) Method to set passwordvoidsetTrustStore(KeyStore trustStore) Method to set trustStore.voidMethod to validate signatures.
-
Constructor Details
-
AbstractValidator
public AbstractValidator()
-
-
Method Details
-
getLog
public org.slf4j.Logger getLog()Method to get logger.- Returns:
- returns the logger
-
getPassword
Method to get password.- Returns:
- returns the password
-
getTrustStore
Method to get truststore.- Returns:
- returns the truststore
-
setPassword
Method to set password- Parameters:
password- the password to be set
-
setTrustStore
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 instanceaAlias- the alias- Throws:
ValidationException- will be thrown on validation errors
-