Sun N1 Service Provisioning System 5.2 Installation Guide

ProcedureHow to Configure the JVM Policy for the Local Distributor

Steps
  1. Edit the lib/security/rox.policy file.

  2. Delete the line that allows the application to connect to or accept connections from all hosts.

  3. Add the following lines to give the application permission selectively.


    permission java.net.SocketPermission "ipAddress", "accept"; 
    permission java.net.SocketPermission "ipAddress1:port1", "connect"; 
    permission java.net.SocketPermission "ipAddress2:port2", "connect"; ...  
    • ipAddress is the IP address of the Local Distributor or Master Server that is the parent of this Local Distributor.

    • ipAddress1:port1 and ipAddress2:port2 are the IP address and port numbers of the Remote Agents or Local Distributors for which this Local Distributor is the parent.