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.
Download and unzip the opensso_enterprise_80.zip file. You will then need the following files:
zip-root/deployable-war/opensso.war is the OpenSSO Enterprise WAR file that contains all components, including the IDP Discovery Service files.
zip-root/deployable-war/fam-idpdiscovery.list specifies the files that are required to generate an IDP Discovery Service WAR file.
zip-root/deployable-war/idpdiscovery directory contains additional files you will need to deploy and configure the IDP Discovery Service.
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.
Make sure that your JAVA_HOME environment variable points to JDK 1.5 or later.
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
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.
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.