Deploy CADP for Java using installer
Download the provider from our customer support site. The software adheres to the following naming convention:
Product Name - Product Version - File Format
CADP_for_JAVA_v8.17.1.000.zip
Extract the file using any standard archive utility.
Extracting the archive creates the following directory structure:
For information on directory structure and its content, refer to Directory Structure
Navigate to the directory where the CADP for Java is extracted.
Navigate to the
CADP_for_JAVA/lib/ext
directory and run the following command to install CADP for Java.java -jar CADP_for_JAVA_Installer-8.17.1.000.jar
The license agreement is displayed on the console.
Press return/enter to continue or s to skip to the end.
Enter Yes, If you agree to the license terms.
The installer verifies the Java version.
Specify the installation location for CADP for Java.
For Java 8, enter Yes to install CADP for Java in the default directory that is
<JAVA_HOME>\lib\ext
. Enter No to select a different location.For Java 10 and higher versions, the installer will prompt for the installation directory.
The installer displays the following properties that are required to connect to the Key Manager.
NAE_IP.1
NAE_Port
Log_File
Enter Yes to update these properties. Enter No to continue with the existing values.
The installation setup is complete; now, you need to perform Post Installation Steps.
CADP for Java is also available as a Maven distribution. To learn more, refer to Deploy CADP for Java using Maven Distribution.
Directory Structure
Here are the files that you need to be aware of.
Filename | Description |
---|---|
commons-codec-1.15.jar | Apache Commons reusable Java components. Apache Commons Codec (TM) software provides implementations of common encoders and decoders such as Base64, Hex, and others. |
commons-lang3-3.12.0.jar | Apache Commons reusable Java components. Lang provides methods for manipulation of core classes in the standard Java library, utilities for the java.lang API, and helps with building methods, such as hashCode, toString and equals. |
commons-collections4-4.4.jar | Apache Commons reusable Java components. Extends or augments the Java Collections Framework. |
gson-2.10.1.jar | A Java library to convert JSON to Java objects and vice versa. |
guava-31.1-jre.jar | Guava is a suite of core and expanded libraries that include utility classes, Google's collections, I/O classes, and much more. This library is used for key caching. |
failureaccess-1.0.1.jar | Contains com.google.common. util.concurrent.internal.InternalFutureFailureAccess and InternalFutures classes. |
CADP_for_JAVA.properties | CADP for Java’s configuration file. |
CADP_for_JAVA-8.17.1.000.jar | The Java components of the CADP for Java (Ingrian) Provider. Required for all installations. |
CADP_for_JAVA_Installer-8.17.1.000.jar | Automates the CADP for Java installation by placing the CADP for Java jar files at default Java path or user provided path and setting basic Key Manager configuration parameters such as IP, Port, and Log path. |
cryptodatautility.jar | CADP for Java utility used to decrypt a string without specifying the keyName and algorithm. |
license.rtf | CADP for Java license file. |
NOTICE.txt | CADP for Java’s open source notice. |
log4j-core-2.19.0.jar | The Apache Log4j ImplementationLogging application. |
log4j-api-2.19.0.jar | Provides the interface that applications should code to and provides the adapter components required for implementers to create a logging implementation. |
bcprov-jdk15to18-1.71.jar | Required for AES/GCM and SEED algorithms when symmetric cache is enabled. |
bcpkix-jdk15on-1.70.jar | Bouncy castle jar required for format conversion of EC keys. |
bcutil-jdk15on-1.70.jar | Bouncy Castle Java APIs required for ASN.1 extension and utility APIs to support bcpkix and bctls. |
SafeNetVaultlessTokenization.properties | Contains the parameters used for tokenization. Required for all installations. |
SafeNetVaultlessTokenization-8.10.0.000.jar | Contains the Java components required for tokenization. Required for all installations. |
unicode.properties | Contains the parameters required to tokenize Unicode characters. |
migration.properties | Contains the parameters used to set up the bulk migration feature. |
detokenization.properties | Contains the parameters used to set up the bulk detokenization feature. |
Important Notes
Note
We are migrating CSEG and BYOK REST API support to open-source as integration. To handle these migrations, 8.15.0 release onward, the safenetcloud.war
and sfbyok.war
files are not bundled with the CADP for Java package. Soon, CSEG and BYOK REST API support will be available as open-source.
In case of Java 10, the
java.se.ee
module needs to be added as a JVM argument.For Java 11 and higher versions, download the following JAR files from a trusted source and add their paths in Tomcat's CLASSPATH:
jaxb-api-2.3.1.jar
jaxb-impl-2.3.1.jar
jaxb-core-2.3.0.1.jar
javax.activation-1.2.0.jar
For Java 8, the following jar files are OSGI compliant:
cryptodatautility.jar
CADP_for_JAVA-8.17.1.000.jar
These jar files access some non-public APIs, user needs to enable the
org.osgi.framework.bootdelegation=sun.,com.sun. property
in the OSGI framework to provide access to these APIs.User can configure an external logger to capture logs instead of the default logging jar files
log4j-core-2.19.0.jar
andlog4j-api-2.19.0.jar
.To run multiple web applications using CADP for Java, place the
CADP_for_JAVA
jar file and dependent jar files in a desired directory and specify it as CLASSPATH for each web application.
For example, when deploying multiple web applications using CADP for Java in Tomcat, place the jar files in Tomcat'slib
directory.