cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r699455 - /cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/BindingBuilder.java
Date Fri, 26 Sep 2008 19:05:47 GMT
Author: dkulp
Date: Fri Sep 26 12:05:46 2008
New Revision: 699455

URL: http://svn.apache.org/viewvc?rev=699455&view=rev
Log:
Attempt to get UsernameToken working with wcf

Modified:
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/BindingBuilder.java

Modified: cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/BindingBuilder.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/BindingBuilder.java?rev=699455&r1=699454&r2=699455&view=diff
==============================================================================
--- cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/BindingBuilder.java
(original)
+++ cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/BindingBuilder.java
Fri Sep 26 12:05:46 2008
@@ -347,9 +347,9 @@
                     utBuilder.prepare(saaj.getSOAPPart());
                     addSupportingElement(utBuilder.getUsernameTokenElement());
                     ret.put(token, utBuilder);
-                    if (suppTokens.isEncryptedToken()) {
-                        encryptedTokensIdList.add(utBuilder.getId());
-                    }
+                    //WebLogic and WCF always encrypt these
+                    //See:  http://e-docs.bea.com/wls/docs103/webserv_intro/interop.html
+                    encryptedTokensIdList.add(utBuilder.getId());
                 }
             } else if (token instanceof IssuedToken && isRequestor()) {
                 //ws-trust stuff.......



Mime
View raw message