cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: [CXF-6609] Making authSupplier fields volatile
Date Thu, 24 Sep 2015 10:38:55 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes ad05bac66 -> 757d78bd3


[CXF-6609] Making authSupplier fields volatile


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

Branch: refs/heads/2.7.x-fixes
Commit: 757d78bd361c91e85d811c146fb0181e5ac5f063
Parents: ad05bac
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Thu Sep 24 11:37:08 2015 +0100
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Thu Sep 24 11:38:38 2015 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/cxf/transport/http/HTTPConduit.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/757d78bd/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
----------------------------------------------------------------------
diff --git a/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
b/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
index fec57ee..c527ef4 100644
--- a/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
+++ b/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java
@@ -252,13 +252,13 @@ public abstract class HTTPConduit
      * Implements the authentication handling when talking to a server. If it is not set
      * it will be created from the authorizationPolicy.authType
      */
-    protected HttpAuthSupplier authSupplier;
+    protected volatile HttpAuthSupplier authSupplier;
     
     /**
      * Implements the proxy authentication handling. If it is not set
      * it will be created from the proxyAuthorizationPolicy.authType
      */
-    protected HttpAuthSupplier proxyAuthSupplier;
+    protected volatile HttpAuthSupplier proxyAuthSupplier;
 
     protected Cookies cookies;
     


Mime
View raw message