You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2009/02/26 18:13:34 UTC

svn commit: r748212 - /cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationTokenInterceptorProvider.java

Author: dkulp
Date: Thu Feb 26 17:13:33 2009
New Revision: 748212

URL: http://svn.apache.org/viewvc?rev=748212&view=rev
Log:
Copy the props to the exchange to outgoing interceptors can get them as well

Modified:
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationTokenInterceptorProvider.java

Modified: cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationTokenInterceptorProvider.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationTokenInterceptorProvider.java?rev=748212&r1=748211&r2=748212&view=diff
==============================================================================
--- cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationTokenInterceptorProvider.java (original)
+++ cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationTokenInterceptorProvider.java Thu Feb 26 17:13:33 2009
@@ -471,10 +471,11 @@
             }
         }
         private void unmapSecurityProps(Message message) {
+            Exchange ex = message.getExchange();
             for (String s : SecurityConstants.ALL_PROPERTIES) {
                 Object v = message.getContextualProperty(s + ".sct");
                 if (v != null) {
-                    message.put(s, v);
+                    ex.put(s, v);
                 }
             }
         }