Difference between revisions of "HowTo:Configure LAS Authentication"
Line 1: | Line 1: | ||
A [[USAM#LAS_(Local_Application_Service)|Local Application Service (LAS)]] can be configured in the following way: | A [[USAM#LAS_(Local_Application_Service)|Local Application Service (LAS)]] can be configured in the following way: | ||
<ol> | <ol> | ||
− | <li>Open | + | <li>Open {{UBIKSTUDIO}} and connect to the database which should be configured for LAS.</li> |
<li>Open [[UBIK_Studio_Basics#Database_specific_settings|database specific settings]] and set</li> | <li>Open [[UBIK_Studio_Basics#Database_specific_settings|database specific settings]] and set</li> | ||
{| class="wikitable" | width = "50%" | {| class="wikitable" | width = "50%" |
Revision as of 21:13, 28 March 2014
A Local Application Service (LAS) can be configured in the following way:
- Open UBIKSTUDIO and connect to the database which should be configured for LAS.
- Open database specific settings and set
Parameter | Value | Comment |
---|---|---|
SessionManagementType | 1 | 0 = Local Management, 1 = LAS, 2 = GAS |
SessionServiceUrl | https://SERVERNAME/UBIK/USAM.svc/SOAP?? | Address of the authentication service |
TokenValityPeriode | 300 | Duration (in seconds) every generated token is valid. The token expires after this timespan. |
HideAuthenticationInfo | 1 | This switch provides the possibility to turn off the detailed error information as necessary (due to security issues). |
- Open the web.config of the data service and set the session's management type and URL to the according address of the web service.
- If the authentication service is in a different location, open the web.config of the USAM service:
- the settings in the configuration file are the same as in the data service
- however, the settings for the SessionManagementType and the SessionManagementUrl will be ignored
<appSettings>
...
<add key="UBIK.Service.TokenValityPeriode" value="600" />
<add key="UBIK.Service.SessionManagementType" value="1" />
<add key="UBIK.Service.SessionManagementUrl" value="https://SERVERNAME/UBIK/USAM.svc/SOAP" />
<add key="UBIK.Service.HideAuthenticationInfo" value="0" />
...
</appSettings>
...
<add key="UBIK.Service.TokenValityPeriode" value="600" />
<add key="UBIK.Service.SessionManagementType" value="1" />
<add key="UBIK.Service.SessionManagementUrl" value="https://SERVERNAME/UBIK/USAM.svc/SOAP" />
<add key="UBIK.Service.HideAuthenticationInfo" value="0" />
...
</appSettings>