REST APIs
This section describes how to make vaultless tokenization REST APIs work with CXF jar and Apache Tomcat server.
Prerequisites
Apache Tomcat 8.0 or higher version and its compatible Java version (8 or higher) are installed.
The
CATALINA_HOME
path is set for Apache Tomcat.Copy
tmrestVaultless.war
fromSafeNetVaultlessTokenization/VaultlessTokenization/restfulservicevaultless
directory to the%CATALINA_HOME%/webapps
directory.Ensure the following jar files are specified in the CLASSPATH.
SafeNetVaultlessTokenization-8.10.0.000.jar
commons-collections4-4.4.jar
commons-lang3-3.12.0.jar
gson-2.10.1.jar
log4j-api-2.19.0.jar
log4j-core-2.19.0.jar
CADP_for_JAVA-8.16.0.000.jar
Note
To deploy
tmrestVaultless.war
on Apache Tomcat version 10.1.x and higher versions, follow the steps below:Create a folder named
webapps-javaee
inside the Apache Tomcat 10 directory.Place the
tmrestVaultless.war
file in thewebapps-javaee
folder.Run the startup batch file placed inside the
bin
directory of Apache 10.
When using Java version 10 or 11, download the files
javax.activation-1.2.0.jar
andjaxb-api-2.2.3.jar
and add them in the CLASSPATH.Deploy vaultless tokenization on HTTPS Server.
Note
SVT REST APIs only work with HTTPS.