Overriding HostnameVerifier
Is there a way via a system property or other mechanism to specify a different HostnameVerifier? I am using a system that I do not have source code to that is failing and I need to allow all host connections.
Thanks in advance for any and all help!
Earnie!
[275 byte] By [
EarnieDa] at [2007-11-27 10:25:32]

# 1
http://java.sun.com/j2se/1.5.0/docs/api/javax/net/ssl/HttpsURLConnection.html#setDefaultHostnameVerifier(javax.net.ssl.HostnameVerifier)
> I need to allow all host connections.
No you don't, you need to allow exactly and only the ones you need to allow. Otherwise you are introducing a MAJOR SECURITY BREACH.
ejpa at 2007-7-28 17:34:11 >
