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);


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to