Hi,

It seems that http client (at least 4.1.3) does not honor
SSLContext.getDefault, i.e. does not pickup SSLContext configured
using SSLContext.setDefault. The problem is that I want to override
default SSLContext at a runtime and do not have control over all
httpclient usages, i.e. can not instrument all http client instances
using "getConnectionManager().getSchemeRegistry().register(scheme)"
spell. I was thinking that httpclient should use default SSLContext by
default, but apparently it's not. I've found HTTPCLIENT-789 and it
says that the reason is that SSLContext.getDefault() is Java 6/7 only.
I'm wondering if it makes sense to use reflection here and honor
default SSLContext on Java 6/7 platforms. Any opinions?

Thanks in advance,
Alexey

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to