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, verifySubjectConfirmationMethod
public 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.SamlTokenValidator
validate
in class org.apache.wss4j.stax.validate.SamlTokenValidatorImpl
org.apache.wss4j.common.ext.WSSecurityException
public 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.BinarySecurityTokenValidator
org.apache.wss4j.common.ext.WSSecurityException
public <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.UsernameTokenValidator
org.apache.wss4j.common.ext.WSSecurityException
Apache CXF