public class SamlTokenValidatorImpl extends SignatureTokenValidatorImpl implements SamlTokenValidator
| Constructor and Description |
|---|
SamlTokenValidatorImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkConditions(SamlAssertionWrapper samlAssertion)
Check the Conditions of the Assertion.
|
protected void |
checkOneTimeUse(SamlAssertionWrapper samlAssertion,
ReplayCache replayCache)
Check the "OneTimeUse" Condition 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.
|
<T extends SamlSecurityToken & org.apache.xml.security.stax.securityToken.InboundSecurityToken> |
validate(SamlAssertionWrapper samlAssertionWrapper,
org.apache.xml.security.stax.securityToken.InboundSecurityToken subjectSecurityToken,
TokenContext tokenContext) |
protected void |
validateAssertion(SamlAssertionWrapper samlAssertion)
Validate the samlAssertion against schemas/profiles
|
validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidatepublic void setFutureTTL(int newFutureTTL)
public boolean isValidateSignatureAgainstProfile()
public void setValidateSignatureAgainstProfile(boolean validateSignatureAgainstProfile)
public <T extends SamlSecurityToken & org.apache.xml.security.stax.securityToken.InboundSecurityToken> T validate(SamlAssertionWrapper samlAssertionWrapper, org.apache.xml.security.stax.securityToken.InboundSecurityToken subjectSecurityToken, TokenContext tokenContext) throws WSSecurityException
validate in interface SamlTokenValidatorWSSecurityExceptionprotected void checkConditions(SamlAssertionWrapper samlAssertion) throws WSSecurityException
WSSecurityExceptionprotected void checkOneTimeUse(SamlAssertionWrapper samlAssertion, ReplayCache replayCache) throws WSSecurityException
WSSecurityExceptionprotected void validateAssertion(SamlAssertionWrapper samlAssertion) throws WSSecurityException
WSSecurityExceptionCopyright © 2004–2014 The Apache Software Foundation. All rights reserved.