Testing 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 OpenToken SP Adapter and PFLoginModule. For more information, see Implementing SP functionality.
-
Reconfigure the IdP connection to use the OpenToken Adapter instance configured for NetWeaver.
Delete the existing adapter instance for the connection and map the OpenToken Adapter instance in its place. See Managing Mappings in the PingFederate documentation.
-
Protect a web page using NetWeaver.
-
On the same NetWeaver 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 (1)(2) ?TargetResource=<protected_resource> (3) ?PartnerIdpId=<connection_id> (4)
1 <PF_host>
is the machine running the PingFederate server.2 <port>
is the port (refer to the PingFederate documentation).3 <protected_resource>
is the web page protected in the previous step.4 <connection_id>
is the Connection ID of the IdP connection. -
Click the SSO link on the unprotected web page.
The SP application login page displays.
-
Add at least one of the users in the username drop-down list to NetWeaver.
-
On the IdP Application’s login page, log in with a username managed by NetWeaver.
You are redirected to the NetWeaver-protected web page.