You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -343,11 +344,12 @@ public T trustingSSLHosts(String... sslHostsToTrust) {
343
344
/**
344
345
* Configures the current session to trust all hosts. Defaults to true, but this allows you to white list <em>only</em> certain hosts.
345
346
* <p>
346
-
* Note that this is <em>not</em> the same as server identity verification, which is an SSL feature enabled through {@link #verifyingServerIdentity(Boolean)}.
347
+
* Note that this is <em>not</em> the same as server identity verification, which is enabled through {@link #verifyingServerIdentity(Boolean)}.
347
348
* It would be prudent to have at least one of these features turned on, lest you be vulnerable to man-in-the-middle attacks.
@@ -357,12 +359,13 @@ public T trustingAllHosts(@Nonnull final Boolean trustAllHosts) {
357
359
/**
358
360
* Configures the current session to not verify the server's identity on an SSL connection. Defaults to true.
359
361
* <p>
360
-
* Note that this is <em>not</em> the same as {@link #trustingAllHosts(Boolean)} or {@link #trustingSSLHosts(String...)}, which are not related to SSL connections.
362
+
* Note that this is <em>not</em> the same as {@link #trustingAllHosts(Boolean)} or {@link #trustingSSLHosts(String...)}.<br/>
361
363
* It would be prudent to have at least one of these features turned on, lest you be vulnerable to man-in-the-middle attacks.
0 commit comments