|
Rank: Starting Member
Groups: Registered
Joined: 3/5/2004 Posts: 4 Location: ,
|
I managed to make it securely by creating a javax.net.ssl.SSLSocketFactory containing the paypal certificate and doing
...
URL u = new URL("https://www.paypal.com/cgi-bin/webscr");
HttpsURLConnection.setDefaultSSLSocketFactory(sf)
...
this, however, is not thread-safe because all other https url connections will get the same socketfactory.
Has anybody solved this?
Using
- org.apache.commons.httpclient.HttpClient
and their
- org.apache.commons.httpclient.contrib.ssl.AuthSSLProtocolSocketFactory appear to be a promising approach.
Any thoughts please to my email!
Reach me securely via:
https://www.privasphere.com/e.do?email=hauser@acm.org
|
|
Rank: Starting Member
Groups: Registered
Joined: 3/5/2004 Posts: 4 Location: ,
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 3/5/2004 Posts: 4 Location: ,
|
|