0 Replies Latest reply on Oct 20, 2001 7:53 AM by Olexander Rudyy

    Applet jndiContext.lookup java.security.AccessControlExcepti

    Olexander Rudyy Newbie

      During calling jndiContext.lookup from applet I get java.security.AccessControlException:
      access denied (java.net.SocketPermission 193.193.216.225:1724 connect,resolve)
      Applet is loaded as plugin.
      After setting
      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.