Thursday Aug 07, 2008
Discovering and Setting (On Fire?) Preferred Identity Providers
Here is additional information on the Identity Provider Discovery Service. Discovering the SAMLv2 IDP Discovery Service and the Discovery LP has general information and the procedure for setting up and testing the Identity Provider Discovery Service. Here is the process to set a preferred identity provider.
NOTE:spSSOInit.jsp is used to initiate single sign-on from the service provider side. On receiving a request for access, spSSOInit.jsp verifies that the required parameters are defined. See the Sun Java System SAML v2 Plug-in for Federation Services User's Guide for more information.
- A user accesses
spSSOInit.jspto initiate single sign-on on the service provider side, and passes to it the value of theidpEntityIDparameter. The value is the entity identifier of the identity provider to which the request should be sent. - The service provider retrieves the identity provider's single sign-on service URL using the value of the
idpEntityIDand redirects the user to it. - Assuming the user is not authenticated, the identity provider prompts the user for credentials.>If the Identity Provider Discovery Service is configured, the user will be redirected to the Identity Provider Discovery Service Writer Service URL with the identity provider information. The Discovery Service Writer Service URL sets the common domain cookie.
- The Identity Provider Discovery Service Writer Service URL sets the cookie with the identity provider information and redirects the user back to the identity provider's single sign-on service URL.The preferred identity provider is now set.
- The identity provider's single sign-on service URL completes the single sign-on process.
- A user accesses
spSSOInit.jspto initiate single sign-on on the service provider side and one of the following occurs:- If the value of
idpEntityIDis passed, the identity provider will be contacted directly. See the previous procedure. - If there is no value for
idpEntityIDbut the Identity Provider Discovery Service is configured, the user will be directed to the Reader Service URL to retrieve the preferred identity provider's entity identifier. In this case, theRelayStateparameter points back tospSSOInit.jsp.
- If the value of
- The Identity Provider Discovery Service Reader Service URL checks for an identity provider discovery cookie and, if set, extracts the preferred identity provider, returning the information as a query parameter in the relay state URL.
spSSOInit.jspchecks for the preferred identity provider in the returned URL.- If the preferred identity provider is set, the request is sent to it for single sign-on.
- If the preferred identity provider is not set, an error is displayed stating this.
Posted at 09:02AM Aug 07, 2008 by Michael Teger in Sun | Comments[0]
Comments:
