For IDP Discovery profile, the Service Provider (SP) has to determine the Identity Provider (IdP) to which it sends authentication requests. The user that the SP wants to authenticate must have previously visited the Identity Provider and authenticated.
The SP has to redirect the user to its own IdP Discovery Service to retrieve the common domain cookie. The cookie contains the list of Identity Providers that the user has already visited. From this list, it choose the correct IdP and then sends an AuthnRequest to that IdP.
The IDP Discovery process is as follows
This site selection page is aware of the IDP Discovery Service URL.
To configure IdP Discovery at the SP
Federation Manager comes with a sample site selection page, named IdPDiscovery.jsp that the SP can use to to implement IdP Discovery. You can find the page in the following directory:
federation_mgr_home/secure-proxy/Tomcat/ webapps/affwebservices/public
The first link on this page redirects the browser from one domain to the IdPDiscovery service in the common domain and retrieves the common domain cookie, named _saml_idp. When the IdP Discovery Service at the SP receives the request, it gets the common domain cookie, adds it as a query parameter to the link then redirects the user back to the IdPDiscovery.jsp site selection page in the regular domain. By default, the IdPDiscovery.jsp page displays only a list of IDs for the IdPs that it extracts from the common cookie. This is a static list; there are no HTML links associated with the list that initiate communication with the associated IdP.
For example:
<a href="http://myspsystem.commondomain.com/affwebservices/public /saml2ipd/?IPDTarget=/http://myspsystem.spdomain.com/affwebservices /public/IdpDiscovery.jsp&SAMLRequest=getIPDCookie"> Retrieve idp discovery cookie from IPD Service</a>
When the user is redirected back to the regular domain with the target site selection page, it now has the common cookie.
With IdP Discovery working, you should see the site selection page with a list of IdPs from which to select.
| Copyright © 2010 CA. All rights reserved. | Email CA about this topic |