During calling jndiContext.lookup from applet I get java.security.AccessControlException:
access denied (java.net.SocketPermission 184.108.40.206:1724 connect,resolve)
Applet is loaded as plugin.
permission java.net.SocketPermission "*", "listen,resolve,connect,accept"; in java.policy of client JRE,
I get java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)
After setting permission java.lang.RuntimePermission "accessDeclaredMembers" all work good.
But I am interesting if any other method to dispose of this security Exception without editing client policy file?
The signing of applet only beat java.net.SocketPermission, but not accessDeclaredMembers RuntimePermission
I am using as EJBServer JBoss-2.4.3, and java1.3.1plugin for applet
Thanks in advance.