public static class SSLUtilities.FakeHostnameVerifier extends Object implements HostnameVerifier
Constructor and Description |
---|
FakeHostnameVerifier() |
Modifier and Type | Method and Description |
---|---|
boolean |
verify(String hostname,
SSLSession session)
Always return true, indicating that the host name is
an acceptable match with the server's authentication scheme.
|
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 © 2015–2016 The Apache Software Foundation. All rights reserved.