Configuration
The global server settings are specified in a standard Java properties file. The application contains a file with default settings that can be either edited directly in the file or overloaded with an externalPropertiesFile. Changes to the settings only come into effect after the application has been restarted.
[WEB-APP-ROOT]/WEB-INF/classes/settings.properties
[WEB-APP-ROOT]/ssu_web-x.x.x.x.war/WEB-INF/classes/settings.properties
This section describes the possible settings in the properties file and how these settings can be configured.
The following pages describe the different areas of configuration options:
Environment and system variables
Every setting in the properties file can also be configured/overwritten by Java system properties and environment variables. The points in the variable names can be replaced by underscores (optional).
Format:
signotec.ssu. [SETTING]
Examples:
- BASH
export signotec_ssu_business_licenseKey=myLicenseKey
- BASH
set signotec.ssu.business.licenseKey=myLicenseKey
- BASH
-Dsignotec.ssu.business.licenseKey=myLicenseKey
Environment variables with points are not permitted in every operating system. We generally recommend replacing all points with underscores.
signotec.ssu.business.licenseKey
- >signotec_ssu_business_licenseKey
We recommend using the Java system properties as the call for the environment variables can vary between different Java servers.
Outsourcing configuration
The settings should be stored separately from the web application to simplify maintenance of the application. Settings should be specified in an external properties file instead of editing the default settings in the delivery package. Create a copy of the default settings and specify the storage location of the copy using the environment variable signotec_ssu_externalpropertiesfile
.
export signotec_ssu_externalpropertiesfile=/myConfigFolder/ssu/settings.properties
The default settings will load initially when starting signoSign/Universal and these will then be expanded/overwritten by the external settings.