## Overview

The CyberArk Identity Java SDK for web apps provides a high-performance framework to help you quickly and easily integrate CyberArk's Multi-factor Authentication (MFA) services within your web application built on the Java framework. Using the CyberArk Identity SDK, you can incorporate a rich set of authentication factors, such as QR Code authentication and push authentication, to provide users with a seamless and secure end-user experience for your websites.

CyberArk Identity Java SDK also enables you to provide a rich and seamless authentication and authorization experience to the web app using the industry standard protocols such as OIDC. The SDK also allows user registrations in the web app for secure user onboarding.

The SDK also enables web apps to integrate MFA widgets for secondary or step-up authentication.

The Java angular sample app provides examples of how the CyberArk Identity can be leveraged and helps accelerate the development and integration process.

## Before you begin

Make sure you have the following before you integrate the CyberArk Identity SDK

[Access to CyberArk Identity tenant](🔗)

## Software requirements:

### Install JDK

  • Download the JDK package from [https://www.oracle.com/java](🔗) and run the file.

  • Configure `JDK bin` path into the system PATH environment variable.


  • Use the command below to check JDK installation.

  • Minimum version of JDK required is **11**.

### Install Maven

  • Download maven package from https://maven.apache.org/download.cgi.

  • Configure `bin` directory for the maven directory into system PATH environment variable.


  • Check Maven version with the command below.

  • For more information, refer to https://maven.apache.org/install.html.

  • Minimum version of maven required is **3.5.0**.

## Integrate CyberArk Identity Java SDK

CyberArk Identity Java SDK library can be obtained from the downloaded GitHub repository https://github.com/cyberark/identity-demo-angular

Add the jar file dependency in your project pom.xml file.

Run the below command via command line

## About this guide

This guide provides resources for integrating the CyberArk Identity Java SDK. The instructions help you leverage CyberArk's MFA platform.

The following guides help you to integrate with Java SDK and to setup Java angular sample app:

  • [Add authentication and authorization using OIDC protocol](🔗)

  • [Integrate OAuth 2.0 M2M flow with CyberArk Identity Java SDK](🔗)

  • [Integrate OAuth 2.0 ROPG flow with CyberArk Identity Java SDK](🔗)

  • [Integrate CyberArk Identity widgets with Java app](🔗)

  • [Integrate CyberArk Identity APIs with Java app](🔗)

  • [Integrate logout functionality into the app](🔗)

  • [CyberArk Identity Java-angular sample app](🔗)