public class SamlAssertionValidator extends SignatureTrustValidator
| Constructor and Description |
|---|
SamlAssertionValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkConditions(AssertionWrapper assertion)
Check the Conditions of the Assertion.
|
boolean |
isValidateSignatureAgainstProfile()
Whether to validate the signature of the Assertion (if it exists) against the
relevant profile.
|
void |
setFutureTTL(int newFutureTTL)
Set the time in seconds in the future within which the NotBefore time of an incoming
Assertion is valid.
|
void |
setValidateSignatureAgainstProfile(boolean validateSignatureAgainstProfile)
Whether to validate the signature of the Assertion (if it exists) against the
relevant profile.
|
Credential |
validate(Credential credential,
RequestData data)
Validate the credential argument.
|
protected void |
validateAssertion(AssertionWrapper assertion)
Validate the assertion against schemas/profiles
|
protected Credential |
verifySignedAssertion(AssertionWrapper assertion,
RequestData data)
Verify trust in the signature of a signed Assertion.
|
getCrypto, isCertificateInKeyStore, matches, validateCertificates, validatePublicKey, verifyTrustInCert, verifyTrustInCert, verifyTrustInCert, verifyTrustInCerts, verifyTrustInCerts, verifyTrustInCertspublic void setFutureTTL(int newFutureTTL)
public Credential validate(Credential credential, RequestData data) throws WSSecurityException
validate in interface Validatorvalidate in class SignatureTrustValidatorcredential - the Credential to be validateddata - the RequestData associated with the requestWSSecurityException - on a failed validationprotected Credential verifySignedAssertion(AssertionWrapper assertion, RequestData data) throws WSSecurityException
assertion - The signed Assertiondata - The RequestData contextWSSecurityExceptionprotected void checkConditions(AssertionWrapper assertion) throws WSSecurityException
WSSecurityExceptionprotected void validateAssertion(AssertionWrapper assertion) throws WSSecurityException
WSSecurityExceptionpublic boolean isValidateSignatureAgainstProfile()
public void setValidateSignatureAgainstProfile(boolean validateSignatureAgainstProfile)
Copyright © 2004–2013 The Apache Software Foundation. All rights reserved.