Hi

I am using HttpClient in an unsigned applet.
To support HTTP proxies, I try to get the current ProxySlector with ProxySlector.getDefault(), which works fine in standalone app. But I get a AccessControlException. It seems this API is not allowed in the applet sandbox.

So how can I get the current proxy settings to inject in HttpClient from an untrusted applet ?
(I understand this is not a problem in HttpClient itself.)

Probably java.net.HttpURLConnection can use internally ProxySlector.getDefault() even in the sandbox because it is trusted code,
but I would prefere to keep using HttpClient ...

Thanks!

Arnaud


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

Reply via email to