ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1629450 - /webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/util/WSSecurityUtil.java
Date Sat, 04 Oct 2014 21:59:53 GMT
Author: coheigea
Date: Sat Oct  4 21:59:53 2014
New Revision: 1629450

URL: http://svn.apache.org/r1629450
Log:
[WSS-514] - Missing CUSTOM_TOKEN action in WSSecurityUtil#decodeHandlerAction

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

Modified: webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/util/WSSecurityUtil.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/util/WSSecurityUtil.java?rev=1629450&r1=1629449&r2=1629450&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/util/WSSecurityUtil.java
(original)
+++ webservices/wss4j/trunk/ws-security-dom/src/main/java/org/apache/wss4j/dom/util/WSSecurityUtil.java
Sat Oct  4 21:59:53 2014
@@ -940,6 +940,8 @@ public final class WSSecurityUtil {
                 actions.add(WSConstants.UT_SIGN);
             } else if (single[i].equals(WSHandlerConstants.ENABLE_SIGNATURE_CONFIRMATION))
{
                 actions.add(WSConstants.SC);
+            } else if (single[i].equals(WSHandlerConstants.CUSTOM_TOKEN)) {
+                actions.add(WSConstants.CUSTOM_TOKEN);
             } else {
                 throw new WSSecurityException(WSSecurityException.ErrorCode.FAILURE, "empty",
                         "Unknown action defined: " + single[i]



Mime
View raw message