- All Implemented Interfaces:
- HostnameVerifier, org.apache.http.conn.ssl.X509HostnameVerifier
public class AllowAllHostnameVerifier
extends Object
implements org.apache.http.conn.ssl.X509HostnameVerifier
Our own implementation of the AllowAllHostnameVerifier class. The one that ships with HttpClient doesn't actually
allow all host names. In particular, it fails to work when an upstream proxy is present.
http://javaskeleton.blogspot.com/2010/07/avoiding-peer-not-authenticated-with.html was a very helpful resource in
tracking down SSL problems with HttpClient.