Deployment Example 2: Federation Using SAML v2

ProcedureTo Configure J2EE Policy Agent 4 to Work with the J2EE Policy Agents Load Balancer

  1. As a root user, log into the Protected Resource 4 host.

  2. Go to the following directory:


    # cd /export/j2ee_agents/am_as81_agent/agent_001/config
  3. Update the AMagents.properties file.

    Set the following properties as in this example:


    # vi AMAgent.properties
    com.sun.identity.agents.config.fqdn.mapping[LoadBalancer-10.siroe.com] = 
    LoadBalancer-10.siroe.com
    com.sun.identity.agents.config.agent.host = LoadBalancer-10.siroe.com
    com.sun.identity.agents.config.agent.port = 4443
    com.sun.identity.agents.config.agent.protocol = https

    Save the file.

  4. Restart Application Server 4.


    # cd /opt/SUNWappserver/appserver/bin
    #./asadmin stop-domain
    Domain domain1 stopped.
    # ./asadmin start-domain --user admin --password 11111111
    Starting Domain domain1, please wait.
    Log redirected to /var/opt/SUNWappserver/domains/domain1/logs/server.log.
    
    Domain domain1 started.