| java.applet.Applet javax.swing.JApplet com.sun.portal.proxylet.client.applet.DownloadMgr
DownloadMgr | public class DownloadMgr extends JApplet (Code) | | DownloadMgr
This applet runs on a fixed port and downloads the actual proxylet applet
and the signed script.
This was done as a workaround to a bug in Mozilla.
For more information on signed script, please refer
http://www.mozilla.org/projects/security/components/signed-scripts.html
According to Mozilla security policy, only a signed script has expanded privilges
like modifying browser proxy settings etc. Mozilla recognizes the signed script
if its placed inside a JAR and referred using a JAR URL
( for example, JAR:http://somesite/myjar.jar!/signed.html ). For some reason,
mozilla is not able to resolve https URL ( for example, JAR:https does not work ).
Since we cannot expect the gateway to run in a non-secure mode, we have a
small applet 'DownloadMgr' that gets downloaded and starts listening on particular port
( non-secure mode ).
Now, the signed script and the applet gets downloaded through this applet.
The JAR URL in this case looks like JAR:http://localhost:port/portalserver/signedjar!/signed.html
|
getWindow | public JSObject getWindow()(Code) | | |
start | public void start()(Code) | | |
|
|