Difference between revisions of "Configuration Files/AppSettings.config"
(→Example CONTENT) |
(→Example PUSH) |
||
Line 119: | Line 119: | ||
<source lang="xml"> | <source lang="xml"> | ||
<appSettings> | <appSettings> | ||
+ | <!-- Configuration of the Microsoft SQL Server connect string to the UBIK® Database --> | ||
<add key="UBIK.DataBase.ConnectionString" value="Data Source=ubikdbserver.mydomain,1433;Initial Catalog=UBIK.MYDATABASE;Persist Security Info=True;User ID=myuser;Password=mypassword"/> | <add key="UBIK.DataBase.ConnectionString" value="Data Source=ubikdbserver.mydomain,1433;Initial Catalog=UBIK.MYDATABASE;Persist Security Info=True;User ID=myuser;Password=mypassword"/> | ||
+ | |||
+ | <!-- The duration [in seconds] until a cached record is marked as outdated in the UBIK® Kernel. --> | ||
+ | <!-- Switch = "-1" - cached objects are valid indefinetly / Switch = "0" - cache is always invalid and will get constantly updated / Switch = "+1" - cached objects are checked every 1+ seconds --> | ||
<add key="UBIK.Service.ValidityPeriod" value="300"/> | <add key="UBIK.Service.ValidityPeriod" value="300"/> | ||
+ | |||
+ | <!-- Switch = "0" - No logging / Switch = "10" - Simple logging / Switch = "20" - Detailed logging --> | ||
+ | <!-- To enble logging the LogLevel must be set to Verbose in the Logging.config. --> | ||
<add key="UBIK.Service.LogLevel" value="10"/> | <add key="UBIK.Service.LogLevel" value="10"/> | ||
+ | |||
+ | <!-- Validation of the used Token --> | ||
+ | <!-- Switch = "0" - the token is not validated / Switch = "1" - data access is only possible after a successfull authentication --> | ||
<add key="UBIK.Service.TokenRestrictive" value="1"/> | <add key="UBIK.Service.TokenRestrictive" value="1"/> | ||
+ | |||
+ | <!-- Configuration of the LanguageID that is used by the Web Service. The Service will deliver the content of MultiLanguage Properties in this language. --> | ||
<add key="UBIK.Service.LanguageID" value="1"/> | <add key="UBIK.Service.LanguageID" value="1"/> | ||
+ | |||
+ | <!-- Configuration of the type session management the current service will use --> | ||
+ | <!-- Switch = "0" - Single Local Management / Switch = "1" - USAM Service --> | ||
<add key="UBIK.Service.SessionManagementType" value="1"/> | <add key="UBIK.Service.SessionManagementType" value="1"/> | ||
+ | |||
+ | <!-- In the case of SessionManagementType = 1, the URL of the USAM Service must be configured using this setting. --> | ||
<add key="UBIK.Service.SessionManagementUrl" value="https://myusamserver.mydomain:myport/UBIK/USAM/USAM.svc/SOAP"/> | <add key="UBIK.Service.SessionManagementUrl" value="https://myusamserver.mydomain:myport/UBIK/USAM/USAM.svc/SOAP"/> | ||
</appSettings> | </appSettings> | ||
</source> | </source> | ||
+ | |||
+ | [[Category:Installing|Configuration Files/AppSettings.config]] | ||
+ | [[Category:Web service|Configuration Files/AppSettings.config]] | ||
=== Example USAM=== | === Example USAM=== |
Revision as of 05:25, 22 April 2024
The data and session management service of the web service are configured in this file.