ffang opened a new pull request, #3792: URL: https://github.com/apache/cxf/pull/3792
STSStaxTokenValidator validates a SAML assertion with its own copy of an old version of SamlTokenValidatorImpl.validate(). It did not check the audience restrictions, the AuthnStatements or the Subject Confirmation requirements, and it cached the OneTimeUse ID before the other checks. It now makes the same checks as SamlTokenValidatorImpl, in the same order. STSSamlAssertionValidator lets SamlAssertionValidator go on when the signature of an assertion is not trusted locally, so that STSTokenValidator can validate the assertion with the STS. The OneTimeUse ID of such an assertion was cached before the STS validated it, so an assertion that the STS rejects could take the ID of a genuine one. It is now only cached once the STS has validated the assertion. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
