hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ortwin Gl├╝ck <ortwin.glu...@nose.ch>
Subject Re: NTLM class
Date Thu, 14 Aug 2003 11:54:12 GMT
I find it bad pratice to set the JCE inside a totally lowlevel class. 
The JCE should only be set by the application and not by HttpClient at all.

Odi

Adrian Sutton wrote:
> String secProviderName = 
> System.getProperty("httpclient.security.provider", 
> "com.sun.crypto.provider.SunJCE");
> 
> java.security.Provider secProvider = 
> (java.security.Provider)Class.forName(secProviderName).newInstance();
> 
> Security.addProvider(secProvider);


Mime
View raw message