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
-
Download the Java Integration kit from the PingFederate server add-ons page.
-
Complete the steps in Sample application setup in the Java Integration Kit documentation to set up an SP application.
-
Configure an instance of the WAM Adapter as shown in Setting Up the SP Adapter.
-
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.
-
From the Main Menu, click Adapters under My SP Configuration.
-
Protect a web page using the WAM web Agent.
-
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.
-
-
Click the SSO link on the unprotected web page.
You should arrive at the IdP application’s login page.
-
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.
-
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.