You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by bu...@apache.org on 2003/04/22 17:13:50 UTC
DO NOT REPLY [Bug 19218] New: -
httpClient does not support installation of different SSLSocketFactory
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19218>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19218
httpClient does not support installation of different SSLSocketFactory
Summary: httpClient does not support installation of different
SSLSocketFactory
Product: Commons
Version: 2.0 Beta 2
Platform: Other
OS/Version: Other
Status: NEW
Severity: Major
Priority: Other
Component: HttpClient
AssignedTo: commons-httpclient-dev@jakarta.apache.org
ReportedBy: bin.chen@sabre-holdings.com
Description:
The SSLProtocolSocketFactory class had hard-
coded "javax.net.ssl.SSLSocketFactory" as the socket factory. It does not
support installation of other socket factory.
Proposed Fix:
We added a setDefaultSSLSocketFactory method to the SSLProtocolSocketFactory
and modified the code to use the factory it it is set. The code falls back on
using "javax.net.ssl.SSLSocketFactory" if a default is not set.