Download and unpack the SAML v2 Plug-in for Federation Services binaries as described in Installing the SAML v2 Plug-in for Federation Services.
Create an installation configuration properties file.
Be sure to set the IDPDISCOVERY_ONLY, COMMON_COOKIE_DOMAIN, and COOKIE_ENCODE properties as described in Creating an Installation Configuration Properties File.
Run the saml2setup command.
# saml2setup install -s installation-file-name
where installation-file-name is the name of the installation configuration properties file described in Creating an Installation Configuration Properties File.
The installer will create a SAML v2 IDP Discovery Service WAR named idpdiscovery.war in /AccessManager-base/product-directory/saml2/ or /FederationManager-base/SUNWam/saml2/.
Deploy idpdiscovery.war according to the instructions in Appendix A, Deploying the SAML v2 Plug-in for Federation Services Generated WAR.
Restart your web container.
See The SAML v2 IDP Discovery Service to configure the SAML v2 IDP Discovery Service.