public class STSStaxTokenValidator
extends org.apache.wss4j.stax.validate.SamlTokenValidatorImpl
implements org.apache.wss4j.stax.validate.BinarySecurityTokenValidator, org.apache.wss4j.stax.validate.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(org.apache.wss4j.binding.wss10.BinarySecurityTokenType binarySecurityTokenType,
org.apache.wss4j.stax.validate.TokenContext tokenContext) |
<T extends org.apache.wss4j.stax.securityToken.SamlSecurityToken & org.apache.xml.security.stax.securityToken.InboundSecurityToken> |
validate(org.apache.wss4j.common.saml.SamlAssertionWrapper samlAssertionWrapper,
org.apache.xml.security.stax.securityToken.InboundSecurityToken subjectSecurityToken,
org.apache.wss4j.stax.validate.TokenContext tokenContext) |
<T extends org.apache.wss4j.stax.securityToken.UsernameSecurityToken & org.apache.xml.security.stax.securityToken.InboundSecurityToken> |
validate(org.apache.wss4j.binding.wss10.UsernameTokenType usernameTokenType,
org.apache.wss4j.stax.validate.TokenContext tokenContext) |
checkAuthnStatements, checkConditions, checkConditions, checkOneTimeUse, getRequiredSubjectConfirmationMethod, getTtl, isRequireBearerSignature, isRequireStandardSubjectConfirmationMethod, isValidateSignatureAgainstProfile, setFutureTTL, setRequireBearerSignature, setRequiredSubjectConfirmationMethod, setRequireStandardSubjectConfirmationMethod, setTtl, setValidateSignatureAgainstProfile, validateAssertion, verifySubjectConfirmationMethodpublic STSStaxTokenValidator()
public STSStaxTokenValidator(boolean alwaysValidateToSts)
alwaysValidateToSts - whether to always validate the token to the STSpublic <T extends org.apache.wss4j.stax.securityToken.SamlSecurityToken & org.apache.xml.security.stax.securityToken.InboundSecurityToken> T validate(org.apache.wss4j.common.saml.SamlAssertionWrapper samlAssertionWrapper,
org.apache.xml.security.stax.securityToken.InboundSecurityToken subjectSecurityToken,
org.apache.wss4j.stax.validate.TokenContext tokenContext)
throws org.apache.wss4j.common.ext.WSSecurityException
validate in interface org.apache.wss4j.stax.validate.SamlTokenValidatorvalidate in class org.apache.wss4j.stax.validate.SamlTokenValidatorImplorg.apache.wss4j.common.ext.WSSecurityExceptionpublic org.apache.xml.security.stax.securityToken.InboundSecurityToken validate(org.apache.wss4j.binding.wss10.BinarySecurityTokenType binarySecurityTokenType,
org.apache.wss4j.stax.validate.TokenContext tokenContext)
throws org.apache.wss4j.common.ext.WSSecurityException
validate in interface org.apache.wss4j.stax.validate.BinarySecurityTokenValidatororg.apache.wss4j.common.ext.WSSecurityExceptionpublic <T extends org.apache.wss4j.stax.securityToken.UsernameSecurityToken & org.apache.xml.security.stax.securityToken.InboundSecurityToken> T validate(org.apache.wss4j.binding.wss10.UsernameTokenType usernameTokenType,
org.apache.wss4j.stax.validate.TokenContext tokenContext)
throws org.apache.wss4j.common.ext.WSSecurityException
validate in interface org.apache.wss4j.stax.validate.UsernameTokenValidatororg.apache.wss4j.common.ext.WSSecurityExceptionApache CXF