coheigea opened a new pull request, #3812: URL: https://github.com/apache/cxf/pull/3812
SamlTokenInterceptor builds its own WSS4J RequestData to process a SAML assertion and did not set the subject certificate constraints, so security.subject.cert.constraints was not applied when validating the signature of the assertion, unlike the WS-Security interceptors. Add SecurityUtils.getSubjectCertConstraints(Message), which parses the constraints (honouring security.cert.constraints.separator) and fails on an invalid pattern, and use it in the SamlTokenInterceptor. Document where the property is applied. -- 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]
