reta commented on code in PR #3504:
URL: https://github.com/apache/cxf/pull/3504#discussion_r4104322848
##########
rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/SamlEnvelopedInHandler.java:
##########
@@ -85,7 +93,11 @@ public void filter(ContainerRequestContext context) {
validateToken(message, samlElement);
doc.getDocumentElement().removeChild(samlElement);
- if (bodyIsRoot) {
+ if (signedBody != null) {
+ message.setContent(XMLStreamReader.class,
Review Comment:
A bit lost here, reading W3CDOMStreamReader - it will still use owning
document (even if `Element` is passed), do we need to have this distinction?
--
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]