Difference between revisions of "Configuration Files/AppSettings.config"
(→Example PUSH) |
(→Example USAM) |
||
Line 152: | Line 152: | ||
<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;Initial Catalog=UBIK.MYDATABASE;Persist Security Info=True;User ID=myuser;Password=mypassword"/> | <add key="UBIK.DataBase.ConnectionString" value="Data Source=ubikdbserver.mydomain;Initial Catalog=UBIK.MYDATABASE;Persist Security Info=True;User ID=myuser;Password=mypassword"/> | ||
+ | |||
+ | <!-- Authentication information error status --> | ||
+ | <!-- Switch = 0 - deliver error status if authentication fails / Switch = 1 - hide error status if authentication fails --> | ||
<add key="UBIK.Service.HideAuthenticationInfo" value="1"/> | <add key="UBIK.Service.HideAuthenticationInfo" value="1"/> | ||
+ | |||
+ | <!-- 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="0"/> | <add key="UBIK.Service.ValidityPeriod" value="0"/> | ||
+ | |||
+ | <!-- Duration [in seconds] how long a token is valid. --> | ||
+ | <!-- For security reasons, it is recommended that the token validity should be set for short periode with a maximum of 86400 seconds (24 hours) --> | ||
<add key="UBIK.Service.TokenValidityPeriod" value="60"/> | <add key="UBIK.Service.TokenValidityPeriod" value="60"/> | ||
+ | |||
+ | <!-- Authorization mechanism for user logins --> | ||
+ | <!-- Switch = 0 - every login may connect / Switch = 1 - only known logins may connect to UBIK® --> | ||
<add key="UBIK.Service.UserRestrictive" value="1"/> | <add key="UBIK.Service.UserRestrictive" value="1"/> | ||
+ | |||
+ | <!-- Authorization mechanism for device logins --> | ||
+ | <!-- Switch = 0 - every device may connect / Switch = 1- only known and active devices may connect to UBIK® --> | ||
<add key="UBIK.Service.DeviceRestrictive" value="0"/> | <add key="UBIK.Service.DeviceRestrictive" value="0"/> | ||
</appSettings> | </appSettings> | ||
</source> | </source> | ||
+ | |||
+ | [[Category:Installing|Configuration Files/AppSettings.config]] | ||
+ | [[Category:Web service|Configuration Files/AppSettings.config]] | ||
=== Example CONTENT Windows Azure === | === Example CONTENT Windows Azure === |
Revision as of 05:26, 22 April 2024
The data and session management service of the web service are configured in this file.