cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject cxf git commit: Removing some DOM dependencies from stax code
Date Thu, 16 Apr 2015 10:11:40 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 5b20a3c90 -> a892678e5


Removing some DOM dependencies from stax code


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/a892678e
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/a892678e
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/a892678e

Branch: refs/heads/master
Commit: a892678e5e2976d0c46ccdc44acb303e855aad9a
Parents: 5b20a3c
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Thu Apr 16 11:11:28 2015 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Thu Apr 16 11:11:28 2015 +0100

----------------------------------------------------------------------
 .../cxf/ws/security/wss4j/AbstractWSS4JStaxInterceptor.java  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/a892678e/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/AbstractWSS4JStaxInterceptor.java
----------------------------------------------------------------------
diff --git a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/AbstractWSS4JStaxInterceptor.java
b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/AbstractWSS4JStaxInterceptor.java
index 75189f6..9180104 100644
--- a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/AbstractWSS4JStaxInterceptor.java
+++ b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/AbstractWSS4JStaxInterceptor.java
@@ -57,8 +57,8 @@ import org.apache.wss4j.common.crypto.PasswordEncryptor;
 import org.apache.wss4j.common.ext.WSPasswordCallback;
 import org.apache.wss4j.common.ext.WSSecurityException;
 import org.apache.wss4j.common.util.Loader;
-import org.apache.wss4j.dom.WSConstants;
 import org.apache.wss4j.stax.ConfigurationConverter;
+import org.apache.wss4j.stax.ext.WSSConstants;
 import org.apache.wss4j.stax.ext.WSSSecurityProperties;
 
 public abstract class AbstractWSS4JStaxInterceptor implements SoapInterceptor, 
@@ -68,9 +68,9 @@ public abstract class AbstractWSS4JStaxInterceptor implements SoapInterceptor,
     private static final Set<QName> HEADERS = new HashSet<>();
     
     static {
-        HEADERS.add(new QName(WSConstants.WSSE_NS, "Security"));
-        HEADERS.add(new QName(WSConstants.ENC_NS, "EncryptedData"));
-        HEADERS.add(new QName(WSConstants.WSSE11_NS, "EncryptedHeader"));
+        HEADERS.add(new QName(WSSConstants.NS_WSSE10, "Security"));
+        HEADERS.add(new QName(WSSConstants.NS_XMLENC, "EncryptedData"));
+        HEADERS.add(new QName(WSSConstants.NS_WSSE11, "EncryptedHeader"));
     }
     
     private final Map<String, Object> properties;


Mime
View raw message