Integrate CyberArk Identity Java SDK

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.
519
<JDK_Directory>\bin
  • Use the command below to check JDK installation.
  • Minimum version of JDK required is 11.
java -version

Install Maven

649
<MAVEN_DIRECTORY>\bin
  • Check Maven version with the command below.
mvn –version

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.

<dependency>
  <groupId>com.cyberark</groupId>
  <artifactId>identity-sdk-java</artifactId>
  <version>{sdk_version}</version>
</dependency>

Run the below command via command line

mvn install

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: