[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlrpc-user
Subject: [jira] [Created] (WSS-634) Nodes are not imported correctly when creating headers
From: "Michael Westergaard (JIRA)" <jira () apache ! org>
Date: 2018-10-18 10:06:00
Message-ID: JIRA.13192489.1539857152000.143932.1539857160027 () Atlassian ! JIRA
[Download RAW message or body]
Michael Westergaard created WSS-634:
---------------------------------------
Summary: Nodes are not imported correctly when creating header=
s
Key: WSS-634
URL: https://issues.apache.org/jira/browse/WSS-634
Project: WSS4J
Issue Type: Bug
Components: WSS4J Core
Affects Versions: 2.2.2, 2.2.0
Reporter: Michael Westergaard
Assignee: Colm O hEigeartaigh
Attachments: wss4j-2.2.2.patch
When using WS Security with Spring Boot 2.1RC1 on Java 11, I get an error:
{{org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR: A node is used in a differe=
nt document than the one that created it.}}
{{at java.xml/com.sun.org.apache.xerces.internal.dom.ParentNode.internalIns=
ertBefore(ParentNode.java:356)}}
{{at java.xml/com.sun.org.apache.xerces.internal.dom.ParentNode.insertBefor=
e(ParentNode.java:287)}}
Tracing the issue, the root cause is that=C2=A0
ws-security-dom/src/main/java/org/apache/wss4j/dom/util/WSSecurityUtil.java=
tries to create and import nodes, but doesn't actually import them.
I've seen this issue on 2.2.0 and 2.2.2.
Attached patch properly imports the newly created nodes, eliminating the is=
sue. =C2=A0The patch is against 2.2.2.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic