Sun Java System Access Manager Policy Agent 2.2 Guide for SAP Enterprise Portal 6.0 and Web Application Server 6.40

Preparing to Uninstall Agent for SAP Portal 6.0/Server 6.40

Perform the applicable pre-uninstallation (preparation) tasks outlined in this section before uninstalling Policy Agent 2.2 for SAP Portal 6.0/Server 6.40. The uninstallation tasks are different depending upon the deployment container from which the agent is being uninstalled, as follows:

Perform the tasks that apply to the deployment container from which you want to uninstall the agent.

Pre-Uninstallation of Agent for SAP Portal 6.0/Server 6.40: SAP Enterprise Portal 6.0

Perform the tasks in this section if you are uninstalling Agent for SAP Portal 6.0/Server 6.40 from SAP Enterprise Portal 6.0. This section includes a variety of short tasks that remove the configuration performed during the installation and post-installation processes.

ProcedureTo Undeploy the Agent Software Delivery Archive for SAP Enterprise Portal 6.0

The Software Delivery Archive for this agent was deployed as a post-installation task. For details about that post-installation task, see To Deploy the Agent Software Delivery Archive for SAP Enterprise Portal 6.0.

  1. (Conditional) If the SAP Enterprise Portal 6.0 is not running, start it now.

  2. Start the Software Deployment Manager (SDM) Remote GUI.

    The following example provides the path to the SDM Remote GUI on UNIX systems:

    /usr/sap/SID/instanceName/SDM/program/RemoteGui.sh
    SID

    represents the SAP system ID.

    instanceName

    represents the SAP Enterprise Portal 6.0 instance.

  3. Log in to the GUI.

  4. Select the Undeployment tab.

  5. Select AmSAPAgent2.2.

  6. Click undeploy.

ProcedureTo Remove the Login Module for SAP Enterprise Portal 6.0

  1. (Conditional) If the SAP Enterprise Portal 6.0 is not running, start it now.

  2. Start the Visual Administration tool.

    The following example provides the path to the Visual Administration tool on UNIX systems:

    /usr/sap/SID/instanceName/j2ee/admin/go
    SID

    represents the SAP system ID.

    instanceName

    represents the SAP Enterprise Portal 6.0 instance.

  3. Log in to the Visual Administration tool.

  4. Select the Security Provider service.

  5. Select the User Management tab.

  6. Click Manage Security Stores.

  7. Select AmSAPEPLoginModule and click remove.

ProcedureTo Restore the Original State of the Ticket Template for SAP Enterprise Portal 6.0

This task description explains how to modify the ticket template of SAP Enterprise Portal 6.0 to the state it was in before it was modified during the post-installation of Agent for SAP Portal 6.0/Server 6.40.

Before You Begin

If necessary, start and log in to the Visual Administration tool as detailed in the preceding task description.

  1. Select the Security Provider service.

  2. Select the Policy Configurations tab.

  3. In the Components list, select the ticket authentication template.

  4. Click Add New

  5. Select BasicPasswordLoginModule.

  6. Click Modify.

  7. Move BasicPasswordLoginModule between the following two login modules:

    com.sap.security.core.server.jaas.EvaluteTicketLoginModule
    com.sap.security.core.server.jaas.CreateTicketLoginModule

    The new ticket authentication template appears as such:

    EvaluateTicketLoginModule

    SUFFICIENT

    BasicPasswordLoginModule

    REQUISITE

    CreateTicketLoginModule

    OPTIONAL

ProcedureTo Undeploy Protected Applications from SAP Enterprise Portal 6.0

  1. Undeploy any protected applications from SAP Enterprise Portal 6.0.

    Refer to SAP Enterprise Portal 6.0 documentation for more information.

ProcedureTo Restore the Deployment Descriptors of Applications on SAP Enterprise Portal 6.0

  1. Restore the web.xml file of each deployed application to its original state.

    If a backup copy of the web.xml file was created during post-installation of the agent, the same file can be used to restore the original configuration.

    For more information about how these deployment descriptors were configured during the post-installation of Agent for SAP Portal 6.0/Server 6.40, see Installing the Agent Filter for the Deployed Application on Agent for SAP Portal 6.0/Server 6.40.

ProcedureTo Remove the Agent Application from SAP Enterprise Portal 6.0

This task involves removing the agentapp.war file from SAP Enterprise Portal 6.0. This application is used by the agent to perform housekeeping tasks. This application was installed on the deployment container as a post-installation task. For more information, see Deploying the Agent Application for SAP Enterprise Portal 6.0.

  1. (Conditional) If the SAP Enterprise Portal 6.0 is not running, start it now.

  2. Start the Visual Administration tool.

    The following example provides the path to the Visual Administration tool on UNIX systems:

    /usr/sap/SID/instanceName/j2ee/admin/go
    SID

    represents the SAP system ID.

    instanceName

    represents the SAP Enterprise Portal 6.0 instance.

  3. Log in to the Visual Administration tool.

  4. Expand the Services node.

  5. Select the Deploy service.

  6. Expand the servlet_jsp node under the node of SAP Enterprise Portal 6.0 (Ensure that the SAP Enterprise Portal 6.0 node is for the instance that you are preparing to uninstall).

  7. Select the sap.com/agentapp application.

  8. Click Remove.

Next Steps

Before you uninstall Agent for SAP Portal 6.0/Server 6.40, ensure that you stop and start the SAP Portal 6.0/Server 6.40 instance protected by the agent.

Pre-Uninstallation of Agent for SAP Portal 6.0/Server 6.40: SAP Web Application Server 6.40

Perform the tasks in this section if you are uninstalling Agent for SAP Portal 6.0/Server 6.40 from SAP Web Application Server 6.40. This section includes a variety of short tasks that remove the configuration performed during the installation and post-installation processes.

ProcedureTo Undeploy the Agent Software Delivery Archive for SAP Web Application Server 6.40

The Software Delivery Archive for this agent was deployed as a post-installation task. For details about that post-installation task, see To Deploy the Agent Software Delivery Archive for SAP Web Application Server 6.40.

  1. (Conditional) If the SAP Web Application Server 6.40 is not running, start it now.

  2. Start the Software Deployment Manager (SDM) Remote GUI.

    The following example provides the path to the SDM Remote GUI on UNIX systems:

    /usr/sap/SID/instanceName/SDM/program/RemoteGui.sh
    SID

    represents the SAP system ID.

    instanceName

    represents the SAP Web Application Server 6.40 instance.

  3. Log in to the GUI.

  4. Select the Undeployment tab.

  5. Select AmSAPAgent2.2.

  6. Click undeploy.

ProcedureTo Remove the Login Module for SAP Web Application Server 6.40

  1. (Conditional) If the SAP Web Application Server 6.40 is not running, start it now.

  2. Start the Visual Administration tool.

    The following example provides the path to the Visual Administration tool on UNIX systems:

    /usr/sap/SID/instanceName/j2ee/admin/go
    SID

    represents the SAP system ID.

    instanceName

    represents the SAP Web Application Server 6.40 instance.

  3. Log in to the Visual Administration tool.

  4. Select the Security Provider service.

  5. Select the User Management tab.

  6. Click Manage Security Stores.

  7. Select AmSAPWASLoginModule and click remove.

ProcedureTo Undeploy Protected Applications from SAP Web Application Server 6.40

  1. Undeploy any protected applications from SAP Web Application Server 6.40.

    Refer to SAP Web Application Server 6.40 documentation for more information.

ProcedureTo Restore the Deployment Descriptors of Applications on SAP Web Application Server 6.40

  1. Restore the web.xml file of each deployed application to its original state.

    If a backup copy of the web.xml file was created during post-installation of the agent, the same file can be used to restore the original configuration.

    For more information about how these deployment descriptors were configured during the post-installation of Agent for SAP Portal 6.0/Server 6.40, see Installing the Agent Filter for the Deployed Application on Agent for SAP Portal 6.0/Server 6.40.

ProcedureTo Remove the Agent Application from SAP Web Application Server 6.40

This task involves removing the agentapp.war file from SAP Web Application Server 6.40. This application is used by the agent to perform housekeeping tasks. This application was installed on the deployment container as a post-installation task. For more information, see Deploying the Agent Application for SAP Web Application Server 6.40.

  1. (Conditional) If the SAP Web Application Server 6.40 is not running, start it now.

  2. Start the Visual Administration tool.

    The following example provides the path to the Visual Administration tool on UNIX systems:

    /usr/sap/SID/instanceName/j2ee/admin/go
    SID

    represents the SAP system ID.

    instanceName

    represents the SAP Web Application Server 6.40 instance.

  3. Log in to the Visual Administration tool.

  4. Expand the Services node.

  5. Select the Deploy service.

  6. Expand the servlet_jsp node under the node of SAP Web Application Server 6.40 (Ensure that the SAP Web Application Server 6.40 node is for the instance that you are preparing to uninstall).

  7. Select the sap.com/agentapp application.

  8. Click Remove.

Next Steps

Before you uninstall Agent for SAP Portal 6.0/Server 6.40, ensure that you stop and start the SAP Portal 6.0/Server 6.40 instance protected by the agent.