Jump to: navigation, search

Difference between revisions of "HowTo:Configure LAS Authentication"


Line 2: Line 2:
  
 
# Open ''[[UBIK_Studio_Basics|UBIK Studio]]'' and connect to the database which should be configured for LAS.
 
# Open ''[[UBIK_Studio_Basics|UBIK Studio]]'' and connect to the database which should be configured for LAS.
# Open [[UBIK_Studio_Basics#Database_specific_settings|database specific settings]] and set "SessionManagement" to "LAS" with the authentication service address in "SessionServiceUrl".
+
# Open [[UBIK_Studio_Basics#Database_specific_settings|database specific settings]] ''Database → {database name} settings...'' and set
 
{| class="wikitable" | width = "50%"
 
{| class="wikitable" | width = "50%"
 
|-
 
|-
Line 9: Line 9:
 
| ''SessionManagementType''|| '''1''' || 0 = Local Management, 1 = LAS, 2 = GAS
 
| ''SessionManagementType''|| '''1''' || 0 = Local Management, 1 = LAS, 2 = GAS
 
|-
 
|-
| ''SessionServiceUrl''|| https://SERVERNAME/UBIK/USAM.svc/SOAP?? || ServiceUrl of the AS
+
| ''SessionServiceUrl''|| https://SERVERNAME/UBIK/USAM.svc/SOAP?? || Address of the authentication service
 
|}
 
|}
 
+
# Open the [[UBIK Web Service Configuration|web.config]] of the data service and set the session's management type and URL to the according address of the web service.
# Open the [[UBIK Web Service Configuration|web.config]] of the data service: set "SessionManagementType" "1" (LAS) and set the session session management URL in the [[UBIK Web Service Configuration]] to the according address of the web service.
+
 
+
 
<source lang="xml">
 
<source lang="xml">
 
   <appSettings>
 
   <appSettings>
 +
    ...
 
     <add key="UBIK.Service.SessionManagementType" value="1" />
 
     <add key="UBIK.Service.SessionManagementType" value="1" />
 
     <add key="UBIK.Service.SessionManagementUrl" value="https://SERVERNAME/UBIK/USAM.svc/SOAP" />
 
     <add key="UBIK.Service.SessionManagementUrl" value="https://SERVERNAME/UBIK/USAM.svc/SOAP" />
 +
    ...
 
   </appSettings>
 
   </appSettings>
 
</source>
 
</source>
  
 
# If the authentication service is in a different location, open the [[UBIK Web Service Configuration|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. It is important that the authentication service connects to the same database as the data service!
 
# If the authentication service is in a different location, open the [[UBIK Web Service Configuration|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. It is important that the authentication service connects to the same database as the data service!
 +
  
 
[[Category:How-To]]
 
[[Category:How-To]]

Revision as of 14:25, 15 October 2013

A Local Application Service (LAS) can be configured in the following way:

  1. Open UBIK Studio and connect to the database which should be configured for LAS.
  2. Open database specific settings Database → {database name} 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
  1. 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.
  <appSettings>
    ...
    <add key="UBIK.Service.SessionManagementType" value="1" />
    <add key="UBIK.Service.SessionManagementUrl" value="https://SERVERNAME/UBIK/USAM.svc/SOAP" />
    ...
  </appSettings>
  1. 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. It is important that the authentication service connects to the same database as the data service!