---
title: Using the sample applications
description: The sample identity provider (IdP) and service provider (SP) applications demonstrate single sign-on (SSO) and single logout (SLO) processing to and from your PingFederate server.
component: java
page_id: java:setup:pf_java_ik_using_the_sample_applications
canonical_url: https://docs.pingidentity.com/integrations/java/setup/pf_java_ik_using_the_sample_applications.html
revdate: June 21, 2024
---

# Using the sample applications

The sample identity provider (IdP) *(tooltip: \<div class="paragraph">
\<p>A service that manages identity information and provides authentication services to relying clients or SPs within a federated or distributed network.\</p>
\</div>)* and service provider (SP) *(tooltip: \<div class="paragraph">
\<p>In SAML, an entity that receives and accepts an authentication assertion issued by an IdP, typically for the purpose of allowing access to a protected resource.\</p>
\</div>)* applications demonstrate single sign-on (SSO) *(tooltip: \<div class="paragraph">
\<p>The process of authenticating an identity (signing on) at one website (usually with a user ID and password) and then accessing resources secured by other domains without reauthenticating.\</p>
\</div>)* and single logout (SLO) *(tooltip: \<div class="paragraph">
\<p>The process of signing a user out of multiple sites where the user has started a SSO session.\</p>
\</div>)* processing to and from your PingFederate server.

Each application also:

* Displays attributes provided by the OpenToken Adapter on an IdP application web page and attributes received in SSO assertions on an SP application web page.

  |   |                                                                                                                        |
  | - | ---------------------------------------------------------------------------------------------------------------------- |
  |   | You can also see artifacts of these transactions in the command window running PingFederate or in the server log file. |

* Provides several configurable SSO and operational options that can be adjusted for testing alternative deployment and configuration scenarios. Learn more in [Advanced installation and configuration](pf_java_ik_advanced_installation_and_configuration.html).

You can initiate SSO from either the IdP application or the SP application.

|   |                                                                                                                                                                                                                                                                                                                                                                                        |
| - | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | Developers can adjust the look and feel of the sample applications and modify the source code to change functionality for testing and demonstration.Developers can also use the source files to implement SSO/SLO functionality in their own web applications for enterprise deployment. Learn more in [Modifying sample source files](pf_java_ik_modifying_sample_source_files.html). |
