Deployment Example 1: Access Manager 7.0 Load Balancing, Distributed Authentication UI, and Session Failover

ProcedureTo Configure the Web Policy Agent

In this procedure you modify the AMAgent.properties file. Map Protected Resource 1 and Protected Resource 2 to Load Balancer 5.

  1. Log in as a root user to Protected Resource 1.


    # cd /etc/opt/SUNWam/agents/es6/
    config/_opt_SUNWwbsvr_https-ProtectedResource-1.example.com
  2. Use a text editor to modify the AMAgent.properties file.

    Make a backup of AMAgent.properties, and then add the following entry:


    com.sun.am.policy.agents.config.fqdn.map = 
    LoadBalancer-5.example.com|LoadBalancer-5.example.com

    For this property:

    com.sun.am.policy.agents.config.notenforced_list

    append the following to the end of the value string :

    http://ProtectedResource-1.example.com:1080/launch.html http://LoadBalancer-5.example.com:90/launch.html

  3. Save the file.

  4. Log in as a root user to Protected Resource 2.


    # cd /etc/opt/SUNWam/agents/es6/
    config/_opt_SUNWwbsvr_https-ProtectedResource-2.example.com
  5. Use a text editor to modify the AMAgent.properties file.

    Make a backup of AMAgent.properties, and then add the following entry:


    com.sun.am.policy.agents.config.fqdn.map = 
    LoadBalancer-5.example.com|LoadBalancer-5.example.com

    For this property:

    com.sun.am.policy.agents.config.notenforced_list

    append the following to the end of the value string :

    http://ProtectedResource-2.example.com:1080/launch.html http://LoadBalancer-5.example.com:90/launch.html

  6. Save the file.