Previous Topic: Test the Partnership (POST Profile)

Next Topic: Create a Target Resource

Create a Web Page to Initiate Single Sign-on

For testing purposes, you need to create your own html page with a link that initiates single sign-on.

You can initiate single sign-on from the IdP or SP. This example illustrates SP-initiated single sign-on.

To create a sample web page for single sign-on

  1. Create the sample HTML page at the SP site and include a hard-coded link to the AuthnRequest service at the SP, as follows:

    <a href="http://sp1.demo.com:9091/affwebservices/public/
    saml2authnrequest?ProviderID=idp1.example.com>
    Link to Test POST Single Sign-on</a>

    This link instructs the AuthnRequest Service to redirect the user to the specified Identity Provider to retrieve the user's authentication context.

  2. Save the web page under the name testsso.html.
  3. Copy testsso.html to the web server's document root directory, under a subfolder named /spsample.

    For this sample network, the target web server is http://spapp.demo:80.


Copyright © 2010 CA. All rights reserved. Email CA about this topic