public class AllowAnyHostNameVerifyer extends Object implements HostnameVerifier
FileServer
always work even if the server has a different name
than what is in the certificate.Constructor and Description |
---|
AllowAnyHostNameVerifyer() |
public boolean verify(String hostname, SSLSession session)
verify
in interface HostnameVerifier