--- title: "Sample Website Configuration File" slug: "oas-fullsdk-pgjava-sample-website-configuration-file-3-28" updated: 2025-10-15T09:03:36Z published: 2025-10-15T09:14:42Z canonical: "docs.onespan.com/oas-fullsdk-pgjava-sample-website-configuration-file-3-28" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # Sample Website Configuration File The configuration file for the sample website is named controller.properties. This file is typically located in: > web_root/OASSampleSite-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: ```plaintext soap.host.primary = https://:8888 soap.host.backup = https://:8888 # Component type definitions component.type.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.