Sun OpenSSO Enterprise Policy Agent 3.0 Guide for IBM WebSphere Application Server 6.1/7.0 and WebSphere Portal Server 6.1

Specifying the Agent User in the OpenSSOAgentBootstrap.properties File

The OpenSSOAgentBootstrap.properties file contains the properties required for the agent to start, initialize itself, and connect to the OpenSSO Enterprise server.

The OpenSSOAgentBootstrap.properties is located in the following directory on the server where the WebSphere Application Server/Portal Server agent is installed:

Agent-HomeDirectory/j2ee_agents/websphere_v61_agent/agent-instance/config

For example: /agents/j2ee_agents/websphere_v61_agent/Agent_001/config/

ProcedureTo Specify the Agent User the OpenSSOAgentBootstrap.properties File

  1. Logon to the server where the WebSphere Application Server/Portal Server agent is installed.

  2. Encrypt the password of the agent user (agentuser) that you created in the OpenSSO Enterprise Console under Creating an Agent User.

    1. Copy the unencrypted password to the agent profile password file (wsasagentpw).

    2. Change to the PolicyAgent-base/bin directory.

    3. Encrypt the agent user password using the agentadmin --encrypt command following this syntax:

      agentadmin --encrypt agent-instance password-file

      For example: # ./agentadmin --encrypt Agent_001 wsasagentpw

      The command returns the encrypted password. For example: ASEWEJIowNBJHTv1UGD324kmT==

  3. In the OpenSSOAgentBootstrap.properties file, set the following properties:

    • com.sun.identity.agents.app.username = agentuser

    • com.iplanet.am.service.secret = encrypted-agentuser-password

    • com.sun.identity.agents.config.profilename = agentprofile

    where:

    • agentuser is the agent user you created in the OpenSSO Enterprise Console.

    • encrypted-agentuser-password is the agent user encrypted password from Step 1.

    • agentprofile is the WebSphere Application Server/Portal Server agent profile.

  4. Restart the WebSphere Application Server/Portal Server agent web container.