Web Access Management

Test the SP adapter

About this task

You can test this adapter using the samples applications that are included in the Java Integration Kit.

Steps

  1. Download the Java Integration kit from the PingFederate server add-ons page.

  2. Complete the steps in Sample application setup in the Java Integration Kit documentation to set up an SP application.

  3. Configure an instance of the WAM Adapter as shown in Setting Up the SP Adapter.

  4. Reconfigure the IdP connection to use the WAM Adapter instance.

    Delete the existing adapter instance for the connection and map the WAM Adapter instance in its place.

  5. From the Main Menu, click Adapters under My SP Configuration.

  6. Protect a web page using the WAM web Agent.

  7. On the same web server, create an unprotected web page with a hyperlink to PingFederate’s SP-initiated SSO endpoint in the following format:

    http[s]://<PF_host>:<port>/sp/startSSO.ping?TargetResource=<protected_resource>&PartnerIdpId=<connection_id>
    • <PF_host> is the machine running the PingFederate server.

    • <port> is the port (default value: 9031).

    • <protected_resource> is the web page protected in the previous step.

    • <connection_id> is the Connection ID of the IdP connection.

  8. Click the SSO link on the unprotected web page.

    You should arrive at the IdP application’s login page.

  9. Add at least one of the users in the username drop-down list to the WAM Server.

    Refer to your WAM platform documentation for more information.

  10. On the IdP application’s login page, log in with a username managed by your WAM platform.

    You should be redirected to a WAM platform-protected web page. Independently, you can view cookies from your browser to see that a WAM session cookie has been created.