---
title: Testing the IdP adapter
description: You can test this adapter using the samples applications that are included in the Java Integration Kit.
component: sap-netweaver
page_id: sap-netweaver:setup:pf_sap_netweaver_ik_testing_the_idp_adapter
canonical_url: https://docs.pingidentity.com/integrations/sap-netweaver/setup/pf_sap_netweaver_ik_testing_the_idp_adapter.html
revdate: June 25, 2024
section_ids:
  about-this-task: About this task
  steps: Steps
  result: Result
---

# Testing the IdP 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](https://www.pingidentity.com/en/resources/downloads/pingfederate.html).

2. Complete the steps in [Sample application setup](../../java/setup/pf_java_ik_sample_application_setup.html) in the Java Integration Kit documentation to set up an IdP application.

3. Configure an instance of the NetWeaver IdP Adapter as shown in [IdP installation and setup](pf_sap_netweaver_ik_idp_installation_and_setup.html).

4. Reconfigure the SP connection to use the NetWeaver Adapter instance.

   Delete the existing adapter instance and map the NetWeaver Adapter instance in its place. For more information, see [Managing mappings](https://docs.pingidentity.com/pingfederate/latest/administrators_reference_guide/pf_managing_mappings.html) in the PingFederate documentation.

5. On a web page protected by the NetWeaver Application Server, create an SSO link to the PingFederate `startSSO` endpoint, including the sample SP's connection ID, in the following format:

   ```
   [.codeph]``http[s]://<PF_host>:<port>/IdP/startSSO.ping ``
   ```

   ```
   [.codeph]``?PartnerSpId=<connection_id>``
   ```

   where:

   * `<PF_host>` is the machine running the PingFederate server,

   * `<port>` is the PingFederate port (refer to the PingFederate *Administrator's Manual*),

   * `<connection_id>` is the Connection ID of the SP connection.

6. Access the protected web page by authenticating through NetWeaver, and click the SSO link.

## Result

You are logged on to the Java sample application.
