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-6761] Checking the hostname verifier, patch from Chris Ribble applied
Date Wed, 27 Jan 2016 11:41:39 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 776a01d3f -> 83dd3b708


[CXF-6761] Checking the hostname verifier, patch from Chris Ribble applied


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

Branch: refs/heads/3.0.x-fixes
Commit: 83dd3b7089c5058719476289b1460593b4c8f6bd
Parents: 776a01d
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Wed Jan 27 11:38:21 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Wed Jan 27 11:41:23 2016 +0000

----------------------------------------------------------------------
 .../main/java/org/apache/cxf/jaxrs/client/spec/ClientImpl.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/83dd3b70/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/spec/ClientImpl.java
----------------------------------------------------------------------
diff --git a/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/spec/ClientImpl.java b/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/spec/ClientImpl.java
index 52e900f..cd440dc 100644
--- a/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/spec/ClientImpl.java
+++ b/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/spec/ClientImpl.java
@@ -282,7 +282,8 @@ public class ClientImpl implements Client {
             // TLS
             TLSClientParameters tlsParams = secConfig.getTlsClientParams();
             if (tlsParams.getSSLSocketFactory() != null 
-                || tlsParams.getTrustManagers() != null) {
+                || tlsParams.getTrustManagers() != null
+                || tlsParams.getHostnameVerifier() != null) {
                 clientCfg.getHttpConduit().setTlsClientParameters(tlsParams);
             }
             


Mime
View raw message