public class STSSamlAssertionValidator extends SamlAssertionValidator
Constructor and Description |
---|
STSSamlAssertionValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
isTrustVerificationSucceeded()
Return if trust verification on the signature of the assertion succeeded.
|
Credential |
validate(Credential credential,
RequestData data)
Validate the credential argument.
|
protected Credential |
verifySignedAssertion(SamlAssertionWrapper assertion,
RequestData data)
Try to verify trust on the assertion.
|
checkAuthnStatements, checkConditions, checkConditions, checkOneTimeUse, getRequiredSubjectConfirmationMethod, getTtl, isRequireBearerSignature, isRequireStandardSubjectConfirmationMethod, isValidateSignatureAgainstProfile, setFutureTTL, setRequireBearerSignature, setRequiredSubjectConfirmationMethod, setRequireStandardSubjectConfirmationMethod, setTtl, setValidateSignatureAgainstProfile, validateAssertion, verifySubjectConfirmationMethod
getCrypto, matchesIssuerDnPattern, validateCertificates, validatePublicKey, verifyTrustInCerts
public Credential validate(Credential credential, RequestData data) throws WSSecurityException
validate
in interface Validator
validate
in class SamlAssertionValidator
credential
- the Credential to be validateddata
- the RequestData associated with the requestWSSecurityException
- on a failed validationprotected Credential verifySignedAssertion(SamlAssertionWrapper assertion, RequestData data) throws WSSecurityException
verifySignedAssertion
in class SamlAssertionValidator
assertion
- The signed Assertiondata
- The RequestData contextWSSecurityException
public boolean isTrustVerificationSucceeded()
Copyright © 2017 JBoss by Red Hat. All rights reserved.