To remove the Agent Authentication Provider that was configured after the agent was installed, use the WebLogic Server/Portal 10 Administration Console.
Login to the WebLogic Server/Portal 10 Administration Console.
In the left pane, under Domain Structure and under the host name of the server you are configuring, click Security realms.
In the right pane, click the name of the realm you are configuring.
Click Providers.
Click the Authentication tab.
In the left pane, click Lock & Edit.
In the right pane, specify the Policy Agent Authentication Provider.
Click Delete.
Click Yes.
In the left pane, click Activate changes.
The Agent Authentication Provider is not removed from the configuration until you restart the WebLogic Server/Portal 10 instance. The best practice is to restart the WebLogic Server/Portal 10 instance after you perform the following tasks.
Undeploy any applications protected by the WebLogic Server/Portal 10 agent.
Restore the deployment descriptors of these applications to their original deployment descriptors. (Backup files are useful here if you have them.)
If you are permanently removing the WebLogic Server/Portal 10 agent, undeploy the agent application.
However, if you plan to re-install this agent , you don't need to undeploy the agent application.
If the WebLogic Server/Portal 10 instance was originally configured using Node Manager, remove the classpath and agent Java options using the WebLogic Server/Portal 10 Administration Console. For more information, see:
Configuring a WebLogic Server 10 Instance With the Agent classpath and Java Options
or
WebLogic Portal 10: Configuring the Agent classpath and Java Options
Ensure that the WebLogic Server/Portal 10 container is stopped.
Change to the following directory:
PolicyAgent-base/bin
Issue one of the following commands:
# ./agentadmin --uninstall
or
# ./agentadmin --uninstallAll
The --uninstall removes only one instance of the agent, while the --uninstallAll option prompts you to remove all configured instances of the agent.
When prompted, enter the Startup script location.
The uninstall program displays your response and then asks if you want to continue:
To continue with the uninstallation, select 1 (the default).
************************************************************************ Welcome to the Sun OpenSSO Enterprise Policy Agent 3.0 for BEA WebLogic 10.0 Platform. ************************************************************************ Enter the path to the location of the script used to start the WebLogic domain. Please ensure that the agent is first installed on the admin server instance before installing on any managed server instance. [ ? : Help, ! : Exit ] Enter the Startup script location [/usr/local/bea/user_projects/domains/base_domain/startWebLogic.sh]: /opt/bea/user_projects/domains/base_domain/startWebLogic.sh ----------------------------------------------- SUMMARY OF YOUR RESPONSES ----------------------------------------------- Startup script location : /opt/bea/user_projects/domains/base_domain/startWebLogic.sh Verify your settings above and decide from the choices below. 1. Continue with Uninstallation 2. Back to the last interaction 3. Start Over 4. Exit Please make your selection [1]: Remove amauthprovider.jar from /export/home/opt/bea/wlserver_10.0/server/lib/mbeantypes ...DONE. Deleting the config directory /export/home/opt/agents/weblogic10/j2ee_agents/weblogic_v10_agent/Agent_001/config ...DONE. UnConfigure /opt/bea/user_projects/domains/base_domain/setAgentEnv_AdminServer.sh ...DONE. Uninstall log file location: /export/home/opt/agents/weblogic10/j2ee_agents /weblogic_v10_agent/install-logs/audit/uninstall.log Thank you for using Sun OpenSSO Enterprise Policy Agent 3.0.
The /config directory is removed from the agent instance directory, but the /install-logs directory still exists.
The uninstall program creates an uninstall log file in the PolicyAgent-base/install-logs/audit directory.
The agent instance directory is not automatically removed. For example, if you uninstall the agent for Agent_001, a subsequent agent installation creates the Agent_002 instance directory. To remove an agent instance directory, you must manually remove the directory.