commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cost...@covalent.net
Subject Re: [HttpClient] Dependancy on JSSE
Date Thu, 01 Aug 2002 16:55:30 GMT
On Thu, 1 Aug 2002, Jeff Dever wrote:

> Mike,
> 
> I did not realize that this was a side effect of some recent secury proxy
> authentication patches.  It used to be that ssl was required to compile but
> could run without it.  A lot of us have been using jdk1.4 for our private builds
> lately, (which has ssl built in) so it was easy not to notice.
> 
> I guess the question is: how important is it for httpclient to run in ann
> environment without ssl available?  (I'm a Canadian which has quite a bit of
> freedom with encryption and am not aware of what the export issues may be with
> ssl).

I think it is quite important to keep the SSL code separated.

Some people use PureTLS, some use openSSL via JNI ( both faster and more 
flexible - especially with the certificates ) - and some don't use SSL at 
all.

Costin


> 
> 
> Mike Bowler wrote:
> 
> > At one point HttpClient had a "soft" dependancy on JSSE - it would use
> > JSSE if it was there but would continue working if it wasn't.
> >
> > The latest builds now have a hard dependancy on JSSE - the code doesn't
> > run if you don't have JSSE in your classpath.
> >
> > I don't recall seeing this one being discussed here so I'm not sure if
> > this was intentional or not.
> >
> > Running HttpClient on a machine without JSSE will yield this:
> >
> > java.lang.NoClassDefFoundError: javax/net/SocketFactory
> >     at
> > org.apache.commons.httpclient.HttpClient.startSession(HttpClient.java:190)
> >     at
> > org.apache.commons.httpclient.HttpClient.startSession(HttpClient.java:250)
> >
> > --
> > Mike Bowler
> > Principal, Gargoyle Software Inc.
> > Voice: (416) 822-0973 | Email  : mbowler@GargoyleSoftware.com
> > Fax  : (416) 822-0975 | Website: http://www.GargoyleSoftware.com
> >
> > --
> > To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>
> 
> 


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message