Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 27d990856 -> e826987a6


Always add the SecureConversationOutInterceptor before the Spnego + IssuedToken 
ones


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/e826987a
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/e826987a
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/e826987a

Branch: refs/heads/3.0.x-fixes
Commit: e826987a628e5dc1a81a449196a4b5cc2cb1052a
Parents: 27d9908
Author: Colm O hEigeartaigh <cohei...@apache.org>
Authored: Mon Feb 2 15:27:25 2015 +0000
Committer: Colm O hEigeartaigh <cohei...@apache.org>
Committed: Mon Feb 2 15:28:13 2015 +0000

----------------------------------------------------------------------
 .../policy/interceptors/SecureConversationOutInterceptor.java     | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/e826987a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationOutInterceptor.java
----------------------------------------------------------------------
diff --git 
a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationOutInterceptor.java
 
b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationOutInterceptor.java
index 2b377e6..cf67507 100644
--- 
a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationOutInterceptor.java
+++ 
b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationOutInterceptor.java
@@ -36,6 +36,7 @@ import org.apache.cxf.ws.addressing.AddressingProperties;
 import org.apache.cxf.ws.policy.AssertionInfo;
 import org.apache.cxf.ws.policy.AssertionInfoMap;
 import org.apache.cxf.ws.security.SecurityConstants;
+import 
org.apache.cxf.ws.security.policy.interceptors.IssuedTokenInterceptorProvider.IssuedTokenOutInterceptor;
 import org.apache.cxf.ws.security.tokenstore.SecurityToken;
 import org.apache.cxf.ws.security.trust.STSClient;
 import org.apache.cxf.ws.security.trust.STSUtils;
@@ -51,6 +52,8 @@ class SecureConversationOutInterceptor extends 
AbstractPhaseInterceptor<SoapMess
     
     public SecureConversationOutInterceptor() {
         super(Phase.PREPARE_SEND);
+        addBefore(SpnegoContextTokenOutInterceptor.class.getName());
+        addBefore(IssuedTokenOutInterceptor.class.getName());
     }
     
     public void handleMessage(SoapMessage message) throws Fault {

Reply via email to