Web.config configuration settings
The Web.config file allows you to configure several of the Enterprise Server settings that can either be set in the config file or in the Windows Registry.
Please bear in mind that the PswEncryptionKey
setting is still recommended to be set in the registry.
Due to the broad use of the key, the PswEncryptionKey
setting is stored under a different Registry path than the other settings. It can be found at HKEY_LOCAL_MACHINE\SOFTWARE\Omada\Omada Identity Suite.
Values of the settings set in the registry take precedence over the values in the config file.
The table below presents the settings available to be set in the Web.config
file:
Setting | Type | Description |
---|---|---|
PswEncryptionKey | String | Specifies the encryption key used to encrypt and decrypt strings. It is important that the key is the same as you use for Omada Provisioning Service. |
ConnStr | String | Specifies the connection string to the ES SQL database. If you host several environments on the same machine, this should point to the master database. |
SolutionName | String | Specifies the value of the solution name presented in the web page title. |
CommandTimeout | Integer | Specifies the timeout (number of seconds) for certain SQL commands. |
LoadBalancerNodeEnabled | Integer | Specifies the response returned by the Load balancer page. Possible values are 0 and 1. |
SessionTimeout | Integer | Specifies the authentication timeout (number of minutes) for Forms, SAML and OpenID logon, as well as integrated authentication. |
The settings should be configured as follows:
<appSettings>
<add key="ConnStr" value=""/>
<add key="CommandTimeout" value=""/>
<add key="SolutionName" value=""/>
<add key="LoadBalancerNodeEnabled" value=""/>
<add key="SessionTimeout" value=""/>
<add key="PswEncryptionKey" value=""/>
</appSettings>
These settings can also be set via the Omada.OE.Service.config
file for the timer service.