cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [1/2] git commit: Make sure the CallbackHandler gets saved for subsequent requests
Date Wed, 16 Apr 2014 11:27:18 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 341507ae7 -> caca7e113


Make sure the CallbackHandler gets saved for subsequent requests


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

Branch: refs/heads/master
Commit: c2eb9df260c3c37675b94f5de90220117fbf7c89
Parents: 341507a
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Wed Apr 16 11:43:37 2014 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Wed Apr 16 11:43:37 2014 +0100

----------------------------------------------------------------------
 .../apache/cxf/ws/security/wss4j/AbstractWSS4JStaxInterceptor.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/c2eb9df2/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/AbstractWSS4JStaxInterceptor.java
----------------------------------------------------------------------
diff --git a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/AbstractWSS4JStaxInterceptor.java
b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/AbstractWSS4JStaxInterceptor.java
index a2608a3..74eef5d 100644
--- a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/AbstractWSS4JStaxInterceptor.java
+++ b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/AbstractWSS4JStaxInterceptor.java
@@ -208,6 +208,8 @@ public abstract class AbstractWSS4JStaxInterceptor implements SoapInterceptor,
                 synchronized (info) {
                     info.setProperty(SecurityConstants.CALLBACK_HANDLER, o);
                 }
+                soapMessage.getExchange().get(Endpoint.class).put(SecurityConstants.CALLBACK_HANDLER,
o);
+                soapMessage.getExchange().put(SecurityConstants.CALLBACK_HANDLER, o);
             }
         }            
         


Mime
View raw message