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 | + | <!-- 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 | + | <!-- 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> | ||
− | + | ||
− | + | ||
=== 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 | + | <!-- 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 | + | <!-- 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 | + | <!-- 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> | ||
− | + | ||
− | + | ||
=== 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 | + | <!-- 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"/> | ||
− | <!-- | + | <!-- 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 | + | <!-- 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> | ||
− | + | ||
− | + | ||
=== 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 | + | <!-- 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 | + | <!-- 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 | + | <!-- 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> | ||
− | + | ||
− | + | ||
=== 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 | + | <!-- 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 | + | <!-- 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 | + | <!-- 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 | + | <!-- 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 /> | ||
− | + | ||
− | + | ||
== 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.