Previous Topic: Deploy the Sample Application on One System

Next Topic: Test Single Sign-on with the Sample Application

Deploy the Sample Application on Two Systems

You can install the sample application on two separate systems, one system acting as the Identity Provider and the other system acting as the Service Provider.

To deploy the sample application on each system, run the SetupFederationSample.pl script from a command line.

The script accomplishes the following:

After the SetupFederationSample.pl script is run once, running it again deletes the sample policy objects created by the previous execution of the script.

To execute the sample application on two systems

  1. Complete all the core SOA Security Manager and federation prerequisites on both systems.
  2. Modify the host file of each system so it recognizes the other system with which it is communicating.

    On Windows, the host file is typically located in WINDOWS\system32\drivers\etc\hosts.

    On Solaris/UNIX, the host file is commonly located in /etc/hosts.

  3. (Optional) If you are using a web browser on a system that does not have the correct host mappings for www.idp.demo and www.sp.demo, add these mappings to the hosts file of the system.
  4. Define your environment by configuring the FederationSample.conf file for each system.
  5. Run the SetupFederationSample.pl script as follows:

    You can review the list of script command options.

  6. Restart both Policy Servers.
  7. Test single sign-on and single logout.