- 10 Dec 2024
- 1 Minute à lire
- SombreLumière
- PDF
Install the Sample Authentication Website
- Mis à jour le 10 Dec 2024
- 1 Minute à lire
- SombreLumière
- PDF
Before you begin
To install the sample website, you require the following programs:
- Java 8
- a Java EE 7 web profile-compatible web container, e.g. Apache Tomcat 8.5.60
Install the sample website
To install the Java sample authentication website
Copy sdk_install_dir\Java\bin\OASAuthSampleSite‑sdk_version.war to the tomcat_install_dir\webapps directory.
Wait 10 seconds to allow the Apache Tomcat service to detect and automatically deploy the web archive file.
Restart the Apache Tomcat service to complete the deployment.
The application should now be deployed and accessible via:
https://localhost:8443/OASSampleSite-<sdk_version>/, if you installed the SDK on a server along with OneSpan Authentication Server using the embedded Apache Tomcat package.
http://localhost:8080/OASSampleSite-<sdk_version>/, if you installed the SDK on a server with a regular Apache Tomcat installation.
You can rename the web archive file to change also the URL, e.g. rename it to FriendlyName.war and access it via https://localhost:8443/FriendlyName/.