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, the cookie chooses 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
CA SiteMinder® Federation Standalone comes with a sample site selection page, named IdPDiscovery.jsp that the SP can use to implement IdP Discovery. You can find the page in the following directory:
federation_install_dir/secure-proxy/Tomcat/ webapps/affwebservices/public
The first link 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 and adds it as a query parameter. The IDP Discovery Service 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 list is static; 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 can see the site selection page with a list of IdPs from which to select.
|
Copyright © 2013 CA.
All rights reserved.
|
|