You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2015/02/02 16:27:54 UTC
cxf git commit: Always add the SecureConversationOutInterceptor
before the Spnego + IssuedToken ones
Repository: cxf
Updated Branches:
refs/heads/master 53d151b65 -> ce6515c77
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/ce6515c7
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/ce6515c7
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/ce6515c7
Branch: refs/heads/master
Commit: ce6515c77b67dedec519079caf0a6d65b45fa035
Parents: 53d151b
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Mon Feb 2 15:27:25 2015 +0000
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Mon Feb 2 15:27:25 2015 +0000
----------------------------------------------------------------------
.../policy/interceptors/SecureConversationOutInterceptor.java | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cxf/blob/ce6515c7/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 {