When the applet connection is being made with a secure (SSL) https connection - the connection fails with a security exception. This problem mainly in applet. My applet using socket connection to get the data. In the applet java console it display the exception.
The exception is : java.security.AccessControlException:access denied(java.net.SocketPermission proxy:8080 connect,resolve).
This problem not happening some version of JRE, Currently I am using JRE1.5, this version having this problem.
I added socket permission in the Java policy file, something like this
The reason for the exception is that applets can only connect to the server where they originate, not to any other (like localhost or a local proxy). Digitally signing the applet gets around this; you can details on that here.
posted 13 years ago
Hi, This kind of problem not exist in all the version of JRE, some version, no problem, working fine.
If my user don't want to use the signed applet is there any other solution?
from sun, please refer the given url, we can take this is a bug in JRE1.5