Jump to: navigation, search

Difference between revisions of "Configuration Files/AppSettings.config"


(USAM Settings)
(Examples)
Line 90: Line 90:
  
 
   <!-- The duration [in seconds] until a cached record is marked as outdated in the UBIK® Kernel. -->
 
   <!-- 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 -->
+
   <!-- Switch = "-1" - cached objects are valid indefinitely / 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"/>
  
Line 98: Line 98:
  
 
   <!-- Validation of the used Token -->
 
   <!-- Validation of the used Token -->
   <!-- Switch = "0" - the token is not validated / Switch = "1" - data access is only possible after a successfull authentication -->
+
   <!-- Switch = "0" - the token is not validated / Switch = "1" - data access is only possible after a successful authentication -->
 
   <add key="UBIK.Service.TokenRestrictive" value="1"/>
 
   <add key="UBIK.Service.TokenRestrictive" value="1"/>
  
Line 116: Line 116:
 
</source>
 
</source>
  
[[Category:Installing|Configuration Files/AppSettings.config]]
+
 
[[Category:Web service|Configuration Files/AppSettings.config]]
+
 
  
 
=== Example PUSH ===
 
=== Example PUSH ===
Line 126: Line 126:
  
 
   <!-- The duration [in seconds] until a cached record is marked as outdated in the UBIK® Kernel. -->
 
   <!-- 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 -->
+
   <!-- Switch = "-1" - cached objects are valid indefinitely / 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  -->
 
   <!-- 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. -->
+
   <!-- To enable 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 -->
 
   <!-- Validation of the used Token -->
   <!-- Switch = "0" - the token is not validated / Switch = "1" - data access is only possible after a successfull authentication -->
+
   <!-- Switch = "0" - the token is not validated / Switch = "1" - data access is only possible after a successful authentication -->
 
   <add key="UBIK.Service.TokenRestrictive" value="1"/>
 
   <add key="UBIK.Service.TokenRestrictive" value="1"/>
  
Line 149: Line 149:
 
</source>
 
</source>
  
[[Category:Installing|Configuration Files/AppSettings.config]]
+
 
[[Category:Web service|Configuration Files/AppSettings.config]]
+
 
  
 
=== Example USAM===
 
=== Example USAM===
Line 163: Line 163:
  
 
   <!-- The duration [in seconds] until a cached record is marked as outdated in the UBIK® Kernel. -->
 
   <!-- 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 -->
+
   <!-- Switch = "-1" - cached objects are valid indefinitely / 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. -->
+
   <!-- The duration [in seconds] of 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) -->
+
   <!-- For security reasons, it is recommended that the token validity should be set for a short period with a maximum of 86400 seconds (24 hours) -->
 
   <add key="UBIK.Service.TokenValidityPeriod" value="60"/>
 
   <add key="UBIK.Service.TokenValidityPeriod" value="60"/>
  
Line 180: Line 180:
 
</source>
 
</source>
  
[[Category:Installing|Configuration Files/AppSettings.config]]
+
 
[[Category:Web service|Configuration Files/AppSettings.config]]
+
 
  
 
=== Example CONTENT Windows Azure ===  
 
=== Example CONTENT Windows Azure ===  
Line 192: Line 192:
  
 
   <!-- The duration [in seconds] until a cached record is marked as outdated in the UBIK® Kernel. -->
 
   <!-- 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 -->
+
   <!-- Switch = "-1" - cached objects are valid indefinitely / 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. -->
 
   <!-- 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) -->
+
   <!-- For security reasons, it is recommended that the token validity should be set for a short period with a maximum of 86400 seconds (24 hours) -->
 
     <add key="UBIK.Service.TokenValidityPeriod" value="300" />
 
     <add key="UBIK.Service.TokenValidityPeriod" value="300" />
  
Line 212: Line 212:
  
 
   <!-- Validation of the used Token -->
 
   <!-- Validation of the used Token -->
   <!-- Switch = "0" - the token is not validated / Switch = "1" - data access is only possible after a successfull authentication -->
+
   <!-- Switch = "0" - the token is not validated / Switch = "1" - data access is only possible after a successful authentication -->
 
     <add key="UBIK.Service.TokenRestrictive" value="1" />
 
     <add key="UBIK.Service.TokenRestrictive" value="1" />
  
Line 227: Line 227:
 
</source>
 
</source>
  
[[Category:Installing|Configuration Files/AppSettings.config]]
+
 
[[Category:Web service|Configuration Files/AppSettings.config]]
+
 
  
 
=== Example CONTENT Windows Authentication ===
 
=== Example CONTENT Windows Authentication ===
Line 238: Line 238:
  
 
   <!-- The duration [in seconds] until a cached record is marked as outdated in the UBIK® Kernel. -->
 
   <!-- 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 -->
+
   <!-- Switch = "-1" - cached objects are valid indefinitely / 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. -->
 
   <!-- 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) -->
+
   <!-- For security reasons, it is recommended that the token validity should be set for a short period with a maximum of 86400 seconds (24 hours) -->
 
     <add key="UBIK.Service.TokenValidityPeriod" value="300" />
 
     <add key="UBIK.Service.TokenValidityPeriod" value="300" />
  
 
   <!-- Switch = "0" - No logging / Switch = "10" - Simple logging / Switch = "20" - Detailed logging  -->
 
   <!-- 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. -->
+
   <!-- To enable 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" />
  
Line 258: Line 258:
  
 
   <!-- Validation of the used Token -->
 
   <!-- Validation of the used Token -->
   <!-- Switch = "0" - the token is not validated / Switch = "1" - data access is only possible after a successfull authentication -->
+
   <!-- Switch = "0" - the token is not validated / Switch = "1" - data access is only possible after a successful authentication -->
 
     <add key="UBIK.Service.TokenRestrictive" value="1" />
 
     <add key="UBIK.Service.TokenRestrictive" value="1" />
  
Line 281: Line 281:
 
<headertabs />
 
<headertabs />
  
[[Category:Installing|Configuration Files/AppSettings.config]]
+
 
[[Category:Web service|Configuration Files/AppSettings.config]]
+
 
  
 
== See also ==
 
== See also ==

Revision as of 05:41, 22 April 2024

The data and session management service of the web service are configured in this file.

IC Attention.pngSessionManagementType has to be of Local Application Service always!
[edit]

CONTENT Settings

Area Setting Description
appSettings UBIK.DataBase.ConnectionString Configuration of the Microsoft SQL Server connect string to the UBIK® Database.
appSettings UBIK.Service.ValidityPeriod The duration [in seconds] until a cached record is marked as outdated in the UBIK® Kernel.
Configuration of ValidityPeriod:
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.
appSettings UBIK.Service.LogLevel To enable logging the LogLevel must be set to Verbose in the Logging.config and also the switch for the LogLevel in the AppSettings.config should be adapted accordingly.
Configuration of LogLevel switch in AppSettings.config:
Switch = 0 - No logging.
Switch = 10 - Simple logging.
Switch = 20 - Detailed logging.
appSettings UBIK.Service.TokenRestrictive Validation of the used Token
Configuration of TokenRestrictive:
Switch = 0 - the token is not validated.
Switch = 1 - data access is only possible after a successfull authentication.
appSettings UBIK.Service.LanguageID Configuration of the LanguageID that is used by the Web Service. The Service will deliver the content of MultiLanguage Properties in this language.
appSettings UBIK.Service.SessionManagementType Configuration of the type session management the current service will use:
Switch = 0 - Single Local Management.
Switch = 1 - USAM Service.
appSettings UBIK.Service.SessionManagementUrl In the case of SessionManagementType = 1, the URL of the USAM Service must be configured using this setting.
If a port other than 443 (default port for https) is used, it has to be specified here as well.
appSettings UBIK.Service.PushServiceUrl In the case of SessionManagementType = 1, the URL of the PUSH Service must be configured using this setting..If a port other than 443 (default port for https) is used, it has to be specified here as well.
appSettings UBIK.Service.GroupRightsUpdateIntervall GroupRightsUpdateIntervall setting is optional. Update Interval [in seconds] for the Group Rights Evaluator. If this setting is not configured, the ValidityPeriod is used for defining the interval for the Rights Evaluator.



See also