In my applet, i am using servlet - applet communication to get the data from server. In the applet i am showing some data.
When I am using http, i don't have any problem working fine, when i am using proxy connection with https i am getting problem.
The error is Exception:java.security.AccessControlException: access denied (java.net.SocketPermission proxy:80 connect,resolve)
if i am changing my policy file adding this permission, it works fine. But i don't want to change in the policy file, is there any option to add the permission in the java class file itself instead of changing the policy file.