You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2016/09/06 14:22:48 UTC
[1/2] cxf git commit: Recording .gitmergeinfo Changes
Repository: cxf
Updated Branches:
refs/heads/3.0.x-fixes 595c43e21 -> 0c2020e1d
Recording .gitmergeinfo Changes
Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/0c2020e1
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/0c2020e1
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/0c2020e1
Branch: refs/heads/3.0.x-fixes
Commit: 0c2020e1de7e9c7d147db765f008d658e5de3362
Parents: 88b381d
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Tue Sep 6 15:22:42 2016 +0100
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Tue Sep 6 15:22:42 2016 +0100
----------------------------------------------------------------------
.gitmergeinfo | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cxf/blob/0c2020e1/.gitmergeinfo
----------------------------------------------------------------------
diff --git a/.gitmergeinfo b/.gitmergeinfo
index fed8572..903abcf 100644
--- a/.gitmergeinfo
+++ b/.gitmergeinfo
@@ -1339,6 +1339,7 @@ M 79156d8a23497b9ed9bd912b64f684e610d49863
M 7988c4a974118cc5c2a8bd956fe396a7d5e8bb5c
M 79f8cee005bc09bae7bcb37bba15151bea27e416
M 79f9a1056d979b138041ef0693052d3f989ef522
+M 79fb59268605c1e2dfc64e4d5dd8d4a91108537e
M 7a35d33145a7d1f2d00d01df130f836127d65f62
M 7abdac771c87f759615292fe40dbe313ab14cda5
M 7b31a2afca1ec599100511ce1f7428160618f389
[2/2] cxf git commit: CXF-6604 - Only import a Node if we absolutely
have to
Posted by co...@apache.org.
CXF-6604 - Only import a Node if we absolutely have to
Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/88b381d8
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/88b381d8
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/88b381d8
Branch: refs/heads/3.0.x-fixes
Commit: 88b381d8027360b1f1bb85cee376c71cdea2fcf2
Parents: 595c43e
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Tue Sep 6 15:20:58 2016 +0100
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Tue Sep 6 15:22:42 2016 +0100
----------------------------------------------------------------------
.../security/wss4j/policyhandlers/AbstractBindingBuilder.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cxf/blob/88b381d8/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java
----------------------------------------------------------------------
diff --git a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java
index ab2aa94..d75f3d4 100644
--- a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java
+++ b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java
@@ -602,7 +602,10 @@ public abstract class AbstractBindingBuilder extends AbstractCommonBindingHandle
}
protected Element cloneElement(Element el) {
- return (Element)secHeader.getSecurityHeader().getOwnerDocument().importNode(el, true);
+ if (!secHeader.getSecurityHeader().getOwnerDocument().equals(el.getOwnerDocument())) {
+ return (Element)secHeader.getSecurityHeader().getOwnerDocument().importNode(el, true);
+ }
+ return el;
}
protected void addSignatureParts(List<SupportingToken> tokenList,