diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2013-07-16 13:36:07 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2013-07-16 13:36:14 +0200 |
commit | d4a9e511f8aff209ab7368f0ba911f13bea5743e (patch) | |
tree | ba98c2869069ae68083d0edeb5751782ceaaffc2 /sonar-ws-client | |
parent | 84189bc5b00c5fa076b79788685c50e4d46effaf (diff) | |
download | sonarqube-d4a9e511f8aff209ab7368f0ba911f13bea5743e.tar.gz sonarqube-d4a9e511f8aff209ab7368f0ba911f13bea5743e.zip |
Add the capability "trustAllHosts" to ws-client
Diffstat (limited to 'sonar-ws-client')
-rw-r--r-- | sonar-ws-client/src/main/java/org/sonar/wsclient/internal/HttpRequestFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/internal/HttpRequestFactory.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/internal/HttpRequestFactory.java index e8cd100597a..19b604884c0 100644 --- a/sonar-ws-client/src/main/java/org/sonar/wsclient/internal/HttpRequestFactory.java +++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/internal/HttpRequestFactory.java @@ -155,7 +155,7 @@ public class HttpRequestFactory { .connectTimeout(connectTimeoutInMilliseconds) .readTimeout(readTimeoutInMilliseconds) .trustAllCerts() - .trustAllCerts(); + .trustAllHosts(); if (login != null) { request.basic(login, password); } |