Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 0189ff6cb -> 80d91446f


Make sure the logging interceptors are before the stax wss4j things


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

Branch: refs/heads/3.0.x-fixes
Commit: 858314e5a8468f3eac749222af948fe064699e8f
Parents: 0189ff6c
Author: Daniel Kulp <dk...@apache.org>
Authored: Thu Aug 21 14:21:37 2014 -0400
Committer: Daniel Kulp <dk...@apache.org>
Committed: Wed Aug 27 14:31:33 2014 -0400

----------------------------------------------------------------------
 .../apache/cxf/ws/security/wss4j/WSS4JStaxOutInterceptor.java   | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/858314e5/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JStaxOutInterceptor.java
----------------------------------------------------------------------
diff --git 
a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JStaxOutInterceptor.java
 
b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JStaxOutInterceptor.java
index 6193e2e..84930bd 100644
--- 
a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JStaxOutInterceptor.java
+++ 
b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JStaxOutInterceptor.java
@@ -33,6 +33,7 @@ import org.apache.cxf.common.logging.LogUtils;
 import org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor;
 import org.apache.cxf.interceptor.AttachmentOutInterceptor;
 import org.apache.cxf.interceptor.Fault;
+import org.apache.cxf.interceptor.LoggingOutInterceptor;
 import org.apache.cxf.interceptor.StaxOutInterceptor;
 import org.apache.cxf.message.Exchange;
 import org.apache.cxf.message.Message;
@@ -77,7 +78,7 @@ public class WSS4JStaxOutInterceptor extends 
AbstractWSS4JStaxInterceptor {
         super(props);
         setPhase(Phase.PRE_STREAM);
         getBefore().add(StaxOutInterceptor.class.getName());
-        
+        getAfter().add(LoggingOutInterceptor.class.getName());
         ending = createEndingInterceptor();
     }
     
@@ -85,7 +86,7 @@ public class WSS4JStaxOutInterceptor extends 
AbstractWSS4JStaxInterceptor {
         super();
         setPhase(Phase.PRE_STREAM);
         getBefore().add(StaxOutInterceptor.class.getName());
-        
+        getAfter().add(LoggingOutInterceptor.class.getName());
         ending = createEndingInterceptor();
     }
     

Reply via email to