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 2013/10/18 16:46:10 UTC

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

Author: dkulp
Date: Fri Oct 18 14:46:10 2013
New Revision: 1533470

URL: http://svn.apache.org/r1533470
Log:
After resetting the endpoint to the STS endpoint, recalc the Operation based on the soap action.

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

Modified: cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationInInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationInInterceptor.java?rev=1533470&r1=1533469&r2=1533470&view=diff
==============================================================================
--- cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationInInterceptor.java (original)
+++ cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationInInterceptor.java Fri Oct 18 14:46:10 2013
@@ -214,6 +214,8 @@ class SecureConversationInInterceptor ex
                 NegotiationUtils.recalcEffectivePolicy(message, ns, pol, 
                                                        new SecureConversationSTSInvoker(),
                                                        true);
+                //recalc based on new endpoint
+                SoapActionInInterceptor.getAndSetOperation(message, s);
             } else {
                 message.getInterceptorChain().add(SecureConversationTokenFinderInterceptor.INSTANCE);
             }