public static class SSLUtilities._FakeHostnameVerifier extends Object implements HostnameVerifier
Constructor and Description |
---|
SSLUtilities._FakeHostnameVerifier()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
verify(String hostname,
SSLSession session)
Deprecated.
Always return true, indicating that the host name is an
acceptable match with the server's authentication scheme.
|
public SSLUtilities._FakeHostnameVerifier()
public boolean verify(String hostname, SSLSession session)
verify
in interface HostnameVerifier
hostname
- the host name.session
- the SSL session used on the connection to
host.Copyright © 2013–2018. All rights reserved.