Sun OpenSSO Enterprise 8.0 Installation and Configuration Guide

Generating an IDP Discovery Service WAR File

To generate an IDP Discovery Service WAR file, use the jar command to extract the files from the opensso.war file and then to generate the specialized WAR file.

ProcedureTo Generate an IDP Discovery Service WAR File

Before You Begin

Download and unzip the opensso_enterprise_80.zip file. You will then need the following files:

where zip-root is where you unzipped the opensso_enterprise_80.zip file.

For more information about the opensso.war file, see Downloading OpenSSO Enterprise.

  1. Make sure that your JAVA_HOME environment variable points to JDK 1.5 or later.

  2. Create a new staging directory and extract the files from opensso.war in this staging directory. For example:

    # mkdir idpdiscovery
    # cd idpdiscovery
    # jar xvf zip-root/opensso/deployable-war/opensso.war
  3. Create the IDP Discovery Service WAR using the files in fam-idpdiscovery.list:

    # cd idpdiscovery
    # jar cvf zip-root/opensso/deployable-war/idpdiscovery.war \
    @zip-root/opensso/deployable-war/fam-idpdiscovery.list

    where idpdiscovery.war is the name of the new IDP Discovery Service WAR file.

  4. Update the idpdiscovery.war file created in previous step with the additional files required for the IDP Discovery Service. For example:

    # cd zip-root/opensso/deployable-war/idpdiscovery
    # jar uvf zip-root/opensso/deployable-war/idpdiscovery.war *

    You are now ready to configure the new idpdiscovery.war, as described in the next section.