Previous Topic: Configure ServletExec to Work with Federation Web ServicesNext Topic: Modify the AffWebServices.properties File for WebLogic


Set Up WebLogic to Work with Federation Web Services

To enable Federation Web Services (FWS) for a SiteMinder/WebLogic configuration, deploy the FWS application.

Note: For a list of supported version of WebLogic, see the SiteMinder r12.0 SP3 Platform Support Matrix on the Technical Support site.

The following illustration shows a SiteMinder and WebLogic sample configuration. The illustration provides an example of how to use FWS in a sample federated environment.

Graphic showing the deployment of FWS on a WebLogic App Server

In this environment, deploy the FWS application on System 2 and System 5.

Important! Complete the deployment procedure for the Web Agent at the asserting party and the relying party.

After installing the software components on the systems in the illustration, deploy the FWS application. Deploy the application on System 2 for the asserting party and on System 5 for the relying party.

To deply the FWS application

  1. Set the LD_LIBRARY_PATH Variable
  2. Create a SmHost.conf File
  3. Create a WebAgent.conf File
  4. Modify the AffWebServices.properties File
  5. Configure the WebLogic Reverse Proxy Plug-in.
  6. Deploy the FWS Application on WebLogic.

    Important! For the FWS application to work with WebLogic Server, review the weblogic.xml file in the WEB-INF directory. Verify that the prefer-web-inf-classes parameter in the weblogic.xml file is set to true.

    For instructions on reviewing the weblogic.xml file, go to Deploy the FWS Application on WebLogic.

Source the Environment Script on a UNIX Operating Environments

After you install the Web Agent Option Pack on a UNIX system, the installation program creates an environment script (ca-wa-opack-env.sh).

Source the environment script so the library path of the application server points to the location of the Web Agent Option Pack /bin directory.

Source the script by entering the following command at the command line:

. ./ca-wa-opack-env.sh

Setting the correct library path lets the option pack and the web or application server to work together.

After you source the script, the library path is set. The variable name for the library path differs depending on the operating system. Example of several library paths:

Solaris/Linux

LD_LIBRARY_PATH=/webagent_option_pack_home/bin

HP-UX

SHLIB_PATH=/webagent_option_pack_home/bin

AIX

LIBPATH=/webagent_option_pack_home/bin

Important! The application server startup script can reset the library path. Ensure that the path to the Web Agent Option Pack is the first entry in the path.

The path to the Web Agent Option Pack environment script points to one of the following locations:

Create an SmHost.conf File

The FWS application requires an SmHost.conf file. However, the Web Agent Option Pack does not install this file, so you must create it.

To create an SmHost.conf

  1. Go to the directory /webagent_option_pack_home/bin
  2. Run the smreghost.exe.

    For instructions on running smreghost.exe, see the Web Agent Installation Guide.

  3. Put the SmHost.conf file in the following directory on Systems 2 and 5:

    /webagent_option_pack_home/config

Create a WebAgent.conf File

The FWS application requires the WebAgent.conf file. However, the Web Agent Option Pack does not install this file, so you must create it.

To create a WebAgent.conf file

  1. Copy the WebAgent.conf file from System 1 to the following directory on System 2 and System 5:

    /webagent_option_pack_home/config

    webagent_option_pack_home

    Defines the installed location of the Web Agent Option Pack on System 2 or System 5.

  2. Modify the WebAgent.conf file by:
    1. Setting the EnableWebAgent parameter to YES.
    2. Modifying other configuration parameters to suit FWS.

The following sample shows a WebAgent.conf file for the FWS application:

# WebAgent.conf - configuration file for the Federation Web Services Application
#agentname="agent_name, IP_address"
HostConfigFile="/webagent_option_pack/config/SmHost.conf"
AgentConfigObject="agent_config_object_name"
EnableWebAgent="YES"

Note: The Agent Configuration Object referenced in this WebAgent.conf file must be a new object that you create. Do not specify the object in use by the Web Agent installed in your environment.