3 Replies Latest reply: Aug 22, 2008 12:37 PM by 843804 RSS

    PolicyEngine.assertPermission(PermissionID.SYSTEM)

    843804
      Can some one please let me know what would I use when I move from MS JVM to SUN JVM for the line below?

      PolicyEngine.assertPermission(PermissionID.SYSTEM)

      Can I use java.security.checkPermission(new java.net.SocketPermission("randomhost:80","connect,accept")) as I did for

      com.ms.security.PolicyEngine.assertPermission(com.ms.security.PermissionID.NETIO);

      Please note that class varible in the above two cases are different (NETIO and SYSTEM).

      Thanks,
      Prakash