grant { permission java.net.SocketPermission "localhost", "accept,connect,resolve"; };