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 Summary
Constructors -
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
validate
(ArtifactResponse aType, String aAlias) Method to validate the instance of type T Methode um die Instanz vom Typ T zu validierenMethods inherited from class org.projecthusky.xua.saml2.validation.impl.AbstractValidator
getLog, getPassword, getTrustStore, setPassword, setTrustStore, validate
-
Constructor Details
-
ArtifactResponseValidatorImpl
public ArtifactResponseValidatorImpl()
-
-
Method Details
-
setTrustStore
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 interfaceGenericValidator<ArtifactResponse>
- Parameters:
trustStore
-the truststoreDer truststorepassword
-the password for the store/keyDas Passwort für den Store/Key
-
validate
Description copied from interface:GenericValidator
Method to validate the instance of type TMethode um die Instanz vom Typ T zu validieren- Specified by:
validate
in interfaceGenericValidator<ArtifactResponse>
- 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
-