[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [iaik-ssl] applet + proxy

You cannot do that in an unsigned applet
-----Original Message-----
From: Hiltenkamp, Andreas [mailto:Andreas.Hiltenkamp@healy-hudson.com]
Sent: Thursday, December 07, 2000 2:06 PM
To: Paul Brown
Subject: RE: [iaik-ssl] applet + proxy

Have you tried to set the System.Properties
as described the "https.html" document or the Java Tutorial  http://java.sun.com/docs/books/tutorial/networking/urls/_setProxy.html ?
I didn't check if applets are allowed to add elements to the System Properties
but I think so

Connecting via a Proxy

For connecting via a proxy the host name and port number of the proxy have to be set as System properties using "https.proxyHost" and "https.proxyPort" as key words, e.g.:

 String proxyHost = ...;
 int proxyPort = ...;
 System.setProperty("https.proxyHost", proxyHost);
 System.setProperty("https.proxyPort", proxyPort);

Mit freundlichen Grüßen

Andreas Hiltenkamp

Healy Hudson AG
Zweigstrasse 10
80539 München

Tel.:   089 / 511 14 - 278
Fax.:  089 / 511 14 - 199
-----Original Message-----
From: Paul Brown [mailto:Paul.Brown@spirit-soft.com]
Sent: Donnerstag, 7. Dezember 2000 14:53
To: iaik-ssl@iaik.at
Subject: [iaik-ssl] applet + proxy

Has anyone got either iSaSiLk-Light or iSaSiLk-Applet working through a firewall?