Sample Website Configuration File
  • 15 Jan 2025
  • 1 Minute à lire
  • Sombre
    Lumière
  • PDF

Sample Website Configuration File

  • Sombre
    Lumière
  • PDF

The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article

The configuration file for the sample website is named controller.properties. This file is typically located in:

web_root/OASAuthSampleSite-sdk_version/WEB‑INF/classes/

The controller.properties file is a standard Java properties file, i.e. a key/value association text file.

Each component (authentication and signature) requires the same configuration data, consisting of:

  • OneSpan Authentication Server primary server SOAP end point (URL, mandatory)
  • OneSpan Authentication Server backup server SOAP end point (URL, optional)
  • Name of the OneSpan Authentication Server component to be used (plain text, mandatory)
  • Password format used by SOAP requests (mandatory, integer enum values)

Here is an example of a configuration file:

soap.host.primary = https://<authentication_server_ip>:8888
soap.host.backup = https://<authentication_server_ip>:8888

# Component type definitions
component.type.authentication = Authentication Sample Client
component.type.emvcap_authentication = Authentication Sample Client
component.type.signature = Signature Sample Client
component.type.provisioning.dp4mobile = DP4Mobile Provisioning Sample Client
component.type.provisioning.mdl = Multi-Device Licensing Provisioning Sample Client
component.type.signature.secure_channel = Signature Secure Channel Sample Client
component.type.authentication.secure_channel = Authentication with Secure Channel Sample Client

# valid values are : 4 (Cleartext/separate) or 0 (Cleartext/combined)
password.format = 0

After changing the Java properties file, restart the Apache Tomcat service.


Cet article vous a-t-il été utile ?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Ozzy, facilitant la découverte de connaissances grâce à l’intelligence conversationnelle