ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1674776 - /webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/message/WSSecSignature.java
Date Mon, 20 Apr 2015 09:43:53 GMT
Author: coheigea
Date: Mon Apr 20 09:43:52 2015
New Revision: 1674776

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

Conflicts:
	ws-security-dom/src/main/java/org/apache/wss4j/dom/message/WSSecSignature.java

Modified:
    webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/message/WSSecSignature.java

Modified: webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/message/WSSecSignature.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/message/WSSecSignature.java?rev=1674776&r1=1674775&r2=1674776&view=diff
==============================================================================
--- webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/message/WSSecSignature.java
(original)
+++ webservices/wss4j/branches/1_6_x-fixes/src/main/java/org/apache/ws/security/message/WSSecSignature.java
Mon Apr 20 09:43:52 2015
@@ -188,6 +188,8 @@ public class WSSecSignature extends WSSe
         if (!useCustomSecRef) {
             secRef = new SecurityTokenReference(doc);
             strUri = getWsConfig().getIdAllocator().createSecureId("STR-", secRef);
+            secRef.addWSSENamespace();
+            secRef.addWSUNamespace();
             secRef.setID(strUri);
             
             //



Mime
View raw message