Sun Java System Access Manager Policy Agent 2.2 Guide for Apache Tomcat 5.5 Servlet/JSP Container

Key Features and Tasks Performed With Apache Tomcat Servlet/JSP Container

This section describes Policy Agent-related tasks that are actually performed using Apache Tomcat Servlet/JSP Container.

Disabling the Agent Realm of Policy Agent 2.2 for Apache Tomcat Servlet/JSP Container

In certain situations, you might want to disable the agent realm to better suit your deployment requirements. For example, the agent realm is not required in SSO_ONLY and URL_POLICY modes. This task is performed using Apache Tomcat Servlet/JSP Container. The following steps describe how to disable the agent realm.

ProcedureTo Disable the Agent Realm

  1. Log in to Apache Tomcat Servlet/JSP Container Administration Console.

  2. In the left-hand pane, select the Configurations node.

  3. Select the instance-name-config node where your agent is installed.

    where instance_name is the name of that particular server instance.

  4. In the expanded tree under the server name node, click the Security node.

    This displays the general security settings for this server instance on the right hand panel.

  5. In the right-hand pane, change the value of Default Realm to file.

    If Apache Tomcat Servlet/JSP Container was configured to use a different realm than file before the agent was installed, you must choose that value from the pull-down menu instead.

  6. Restart Apache Tomcat Servlet/JSP Container to ensure the changes take effect.

Re-enabling the Agent Realm

The preceding steps disable the agent realm for Apache Tomcat Servlet/JSP Container. To re-enable the agent realm, follow steps 1-4 and in step 5 change the Default Realm value to agentRealm.