After you install the agent, you can change the agent profile password, if required for your deployment.
On the OpenSSO Enterprise server:
On the server where the JBoss Application Server 4.x/5.x agent is installed:
In the agent profile password file, replace the old password with the new unencrypted password.
Change to the PolicyAgent-base/bin directory.
Encrypt the new password using the agentadmin --encrypt command following this syntax.
agentadmin --encrypt agent-instance password-file
# ./agentadmin --encrypt Agent_001 jbossagentpw
The agentadmin --encrypt command returns the new encrypted password. For example:
In the agent-instance/config/OpenSSOAgentBootstrap.properties file, set the following property to the new encrypted password from the previous step. For example:
Restart the JBoss Application Server instance that is being protected by the policy agent.