public class STSStaxTokenValidator extends SamlTokenValidatorImpl implements BinarySecurityTokenValidator, UsernameTokenValidator
Constructor and Description |
---|
STSStaxTokenValidator() |
STSStaxTokenValidator(boolean alwaysValidateToSts)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
org.apache.xml.security.stax.securityToken.InboundSecurityToken |
validate(BinarySecurityTokenType binarySecurityTokenType,
TokenContext tokenContext) |
<T extends SamlSecurityToken & org.apache.xml.security.stax.securityToken.InboundSecurityToken> |
validate(SamlAssertionWrapper samlAssertionWrapper,
org.apache.xml.security.stax.securityToken.InboundSecurityToken subjectSecurityToken,
TokenContext tokenContext) |
<T extends UsernameSecurityToken & org.apache.xml.security.stax.securityToken.InboundSecurityToken> |
validate(UsernameTokenType usernameTokenType,
TokenContext tokenContext) |
checkAuthnStatements, checkConditions, checkConditions, checkOneTimeUse, getRequiredSubjectConfirmationMethod, getTtl, isRequireBearerSignature, isRequireStandardSubjectConfirmationMethod, isValidateSignatureAgainstProfile, setFutureTTL, setRequireBearerSignature, setRequiredSubjectConfirmationMethod, setRequireStandardSubjectConfirmationMethod, setTtl, setValidateSignatureAgainstProfile, validateAssertion, verifySubjectConfirmationMethod
validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
validate
public STSStaxTokenValidator()
public STSStaxTokenValidator(boolean alwaysValidateToSts)
alwaysValidateToSts
- whether to always validate the token to the STSpublic <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 SamlTokenValidator
validate
in class SamlTokenValidatorImpl
WSSecurityException
public org.apache.xml.security.stax.securityToken.InboundSecurityToken validate(BinarySecurityTokenType binarySecurityTokenType, TokenContext tokenContext) throws WSSecurityException
validate
in interface BinarySecurityTokenValidator
WSSecurityException
public <T extends UsernameSecurityToken & org.apache.xml.security.stax.securityToken.InboundSecurityToken> T validate(UsernameTokenType usernameTokenType, TokenContext tokenContext) throws WSSecurityException
validate
in interface UsernameTokenValidator
WSSecurityException
Copyright © 2017 JBoss by Red Hat. All rights reserved.