Deploy CADP for Java using Maven Distribution
To add CADP for Java in your project, perform the following steps:
Add the following dependency in the
pom.xml
file of your project.<dependency> <groupId>io.github.thalescpl-io.cadp</groupId> <artifactId>CADP_for_JAVA</artifactId> <version>8.17.0.001</version> </dependency>
Download the
CADP_for_JAVA.properties
file from: https://github.com/ThalesGroup/CipherTrust_Application_Protection/blob/master/crypto/java/CADP_for_JAVA.properties.Note
You should download the
CADP_for_JAVA.properties
file specific to the CADP for Java version.Set the path of
CADP_for_JAVA.properties
file using any of the following methods:Add the path of properties file in the system variable. To do so, choose any of the following options:
System.setProperty("com.ingrian.security.nae.CADP_for_JAVA_Properties_Conf_Filename", "Property_File_Path");
System.setProperty("com.ingrian.security.nae.IngrianNAE_Properties_Conf_Filename", "Property_File_Path");
Place the properties file in the location where CADP for Java is deployed.
After this setup is complete, perform the Post Installation Steps.
CADP for Java comes with an in-built installer. Click here, to know how to install CADP for Java using Installer.