You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Steve Pannier <St...@jacada.com> on 2003/07/11 18:15:09 UTC

[httpclient] Can't get BasicAuthenticationExample working

Hi all.

Hopefully this will be a simple question for someone.
I just downloaded httpclient, and am trying to get some of the examples
working.
When I try to run BasicAuthenticationExample, I get the following
exception:

Exception in thread "main" java.net.SocketException: SSL implementation not
available
        at javax.net.ssl.DefaultSSLSocketFactory.createSocket
([DashoPro-V1.2-120198])
        at
org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:112)
        at
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:666)
        at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:625)
        at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:500)
        at
BasicAuthenticatonExample.main(BasicAuthenticatonExample.java:106)

Any ideas?

Regards.

Steve Pannier