Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

http://developers.sun.com/identity/reference/techart/policyagents.html

Setup Agent on Server

Unless otherwise indicated use the serveradmin user account.

Set JAVA_HOME

Edit the .profile file for serveradmin to include JAVA_HOME,

Code Block
languagebash
# Required by Tomcat6 OpenAM Agent
export JAVA_HOME=/opt/java-forgerock

For the .profile change to take effect log out then back into serveradmin.

Download Agent

Check out the main download page for a list of policy agents. In this example we will be using the Tomcat 6 policy agent,

Code Block
languagebash
wget http://download.forgerock.org/downloads/openam/j2eeagents/stable/3.0.3/tomcat_v6_agent_303.zip zip
unzip tomcat_v6_agent_303.zip
cd j2ee_agents
mv tomcat_v6_agent /opt/openam.0/agents

We will add some basic hardening as a sudo enabled account,

Code Block
languagebash
sudo chown -R serveradmin:staff tomcat_v6_agent/
sudo chmod -R 750 tomcat_v6_agent/

Run Setup

... running setup utility with tomcat

...