Configuration
Variable Configuration
The variable configuration can be found in the t1c/t1c.conf
file of the Trust1Connector's installation folder. This file contains certain properties and values that can be variable between different installations. Some values can be altered by the user or an administrator if so desired.
This is an example of an unactivated t1c.conf
:
This is an example of an activated t1c.conf
:
Context Config
The context configuration contains the CORS
configuration. These values can be altered before startup, but if the Trust1Connector is configured to synchronize with the Distribution Service, they will be overridden at startup.
Property
Type
Description
cors
Array[String]
The list of allowed origins that are allowed by the Trust1Connector CORS filter
wildcardsAllowed
Boolean
Whether to allow the usage of *
as wildcards in the CORS filter's allowed origins. If set to false (or absent) only requests whose origin header matches one of the entries in the allowed origins exactly will be allowed through.
Network Configuration
The network configuration contains the values pertaining to how the Trust1Connector connects to the Distribution Service. This allows administrators of customers in a B2B context to enable the Trust1Connector to be able to connect to the Distribution Service in a wide variety of network topologies
Property
Type
Description
proxy.gateway-or-proxy-url
String
If the Trust1Connector's configured DS is not reachable from the installed device's network, it is possible to override the configured DS URL with this value so that the traffic can be proxied over a gateway or proxy of your choice. This value is optional
proxy.host
String
If you need to configure a network proxy for outgoing requests, you can specify the host here. This value is optional
proxy.port
Integer
If you have configured a proxy host, you must specify a port
proxy.username
String
If the network proxy requires credentials, you can provide the username here. This value is optional
proxy.password
String
If the network proxy requires credentials, you can provide the password here. This value is optional
proxy.protocol
String
You can determine the protocol used by the proxy. M be either http
or https
. This value is optional
proxy.non-proxy-hosts
Array[String]
The hostnames for which the network proxy should not be used. This value is optional, but if a network proxy is configured, we strongly recommend adding the T1C hostname in this value
proxy.detect
Boolean
If you are uncertain of whether or not a proxy is required, you can set this value to true, and the Trust1Connector will make a best-effort attempt to detect a proxy host and port based on the OS network settings. This value is optional, and is ignored when both proxy.host
and proxy.port
values are set. Additionally, the detection is unable to detect settings such as username and password.
Last updated