ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1674773 - /webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecSignature.java
Date Mon, 20 Apr 2015 09:33:46 GMT
Author: coheigea
Date: Mon Apr 20 09:33:46 2015
New Revision: 1674773

URL: http://svn.apache.org/r1674773
Log:
[WSS-535] - Add WSSE and WSU xmlns definitions to signature's SecurityTokenReference

Modified:
    webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecSignature.java

Modified: webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecSignature.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecSignature.java?rev=1674773&r1=1674772&r2=1674773&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecSignature.java
(original)
+++ webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecSignature.java
Mon Apr 20 09:33:46 2015
@@ -174,6 +174,8 @@ public class WSSecSignature extends WSSe
         if (!useCustomSecRef) {
             secRef = new SecurityTokenReference(doc);
             strUri = getIdAllocator().createSecureId("STR-", secRef);
+            secRef.addWSSENamespace();
+            secRef.addWSUNamespace();
             secRef.setID(strUri);
             
             //



Mime
View raw message