Sun Java System Access Manager Policy Agent 2.2 Guide for Sun Java System Web Proxy Server 4.0

Updating the Agent Profile Name and the Agent Profile Password in Web Agents

After you have changed the agent profile in Access Manager Console, assign the values for the agent profile name and the agent profile password to the corresponding properties in the web agent AMAgent.properties configuration file. This process involves the following:

The procedures specified in the preceding list are detailed in the platform-specific task descriptions that follow. Implement the steps according to the platform on which the web agent is installed.

ProcedureTo Update the Agent Profile Name and Agent Profile Password on Solaris Systems

  1. Update the following property in the web agent AMAgent.properties configuration file:

    com.sun.am.policy.am.username

    Replace the value of this property with the agent profile name you just updated in Access Manager Console.

  2. Go to the following directory:

    PolicyAgent-base/SUNWam/agents/bin

  3. Execute the following script in the command line:

    # ./crypt_util agent-profile-password

    where agent-profile-password represents the agent profile password you just updated in Access Manager Console.

  4. Copy the output obtained after issuing the # ./crypt_util agent-profile-password command and paste it as the value for the following property:

    com.sun.am.policy.am.password
  5. Restart the deployment container and try accessing any resource protected by the agent.

    If the agent gets redirected to Access Manager, this indicates the above steps were executed properly.

ProcedureTo Update the Agent Profile Name and Agent Profile Password on Windows Systems

  1. Update the following property in the web agent AMAgent.properties configuration file:

    com.sun.am.policy.am.username

    Replace the value of this property with the agent profile name you just updated in Access Manager Console.

  2. Go to the following directory:


    PolicyAgent-base\bin
  3. Execute the following script in the command line

    cryptit agent-profile-password

    where agent-profile-password represents the agent profile password you just updated in Access Manager Console.

  4. Copy the output obtained after issuing the cryptit agent-profile-password command and paste it as the value for the following property:

    com.sun.am.policy.am.password
  5. Restart the deployment container and try accessing any resource protected by the agent.

    If the agent gets redirected to Access Manager, this indicates the above steps were executed properly.

ProcedureTo Update the Agent Profile Name and Agent Profile Password on Linux Systems

  1. Update the following property in the web agent AMAgent.properties configuration file:

    com.sun.am.policy.am.username

    Replace the value of this property with the agent profile name you just updated in Access Manager Console.

  2. Go to the following directory:


    PolicyAgent-base/bin
  3. Execute the following script in the command line:

    crypt_util agent-profile-password

    where agent-profile-password represents the agent profile password you just updated in Access Manager Console.

  4. Copy the output obtained after issuing the crypt_util agent-profile-password command and paste it as the value for the following property:

    com.sun.am.policy.am.password
  5. Restart the deployment container and try accessing any resource protected by the agent.

    If the agent gets redirected to Access Manager, this indicates the above steps were executed properly.