public static class SSLUtilities.FakeHostnameVerifier
extends java.lang.Object
implements javax.net.ssl.HostnameVerifier
| Constructor and Description |
|---|
SSLUtilities.FakeHostnameVerifier() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
verify(java.lang.String hostname,
javax.net.ssl.SSLSession session)
Always return true, indicating that the host name is
an acceptable match with the server's authentication scheme.
|
public boolean verify(java.lang.String hostname,
javax.net.ssl.SSLSession session)
verify in interface javax.net.ssl.HostnameVerifierhostname - the host name.session - the SSL session used on the connection to
host.