Jump to: navigation, search

Difference between revisions of "HowTo:Configure GAS Authentication"


Line 1: Line 1:
A Global Application Service (GAS) can be configured in the following way:
+
A [[USAM#LAS_(Global_Application_Service)|Global Application Service (GAS)]] can be configured in the following way:
 +
<ol>
 +
<li>Open [[UBIK_Studio_Basics|UBIK Studio]] and connect to the database which should be configured for GAS.</li>
 +
<li>Open [[UBIK_Studio_Basics#Database_specific_settings|database specific settings]] and set</li>
 +
{| class="wikitable" | width = "50%"
 +
|-
 +
! Parameter!! Value!! Comment
 +
|-
 +
| ''SessionManagementType''|| '''2''' || 0 = Local Management, 1 = LAS, 2 = GAS
 +
|-
 +
| ''SessionServiceUrl''|| https://SERVERNAME/UBIK/USAM.svc/SOAP?? || Address of the authentication service
 +
|}
 +
</ol>
 +
<ol start="3">
 +
<li>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.</li>
 +
<source lang="xml">
 +
  <appSettings>
 +
    ...
 +
    <add key="UBIK.Service.SessionManagementType" value="2" />
 +
    <add key="UBIK.Service.SessionManagementUrl" value="https://SERVERNAME/UBIK/USAM.svc/SOAP" />
 +
    ...
 +
  </appSettings>
 +
</source>
 +
<li> Open the [[UBIK Web Service Configuration|web.config]] of the GAS' USAM service:<br/>
 +
* the settings in the configuration file are the same as in a data service
 +
* however, the settings for the SessionManagementType and the SessionManagementUrl will be ignored
 +
</li>
 +
</ol>
  
# Open UBIK.Studio and connect to the database which should be configured for LAS.
 
# Open [[UBIK_Studio_Basics#Database_specific_settings|database specific settings]]: set "SessionManagement" to "GAS" with the authentication service address in "SessionServiceUrl".
 
# Open the [[UBIK Web Service Configuration|web.config]] of the data service: set "SessionManagementType" "2" (GAS) and set the session session management URL in the [[UBIK Web Service Configuration]] to the according address of the GAS web service.
 
# Open the [[UBIK Web Service Configuration|web.config]] of the USAM service:  the database used for the global session authentication has to be specified here. However, the settings for the SessionManagementType and the SessionManagementUrl will be ignored.
 
  
 
[[Category:How-To]]
 
[[Category:How-To]]

Revision as of 10:09, 31 October 2013

A Global Application Service (GAS) can be configured in the following way:

  1. Open UBIK Studio and connect to the database which should be configured for GAS.
  2. Open database specific settings and set
  3. Parameter Value Comment
    SessionManagementType 2 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.
  2.   <appSettings>
        ...
        <add key="UBIK.Service.SessionManagementType" value="2" />
        <add key="UBIK.Service.SessionManagementUrl" value="https://SERVERNAME/UBIK/USAM.svc/SOAP" />
        ...
      </appSettings>
  3. Open the web.config of the GAS' USAM service:
    • the settings in the configuration file are the same as in a data service
    • however, the settings for the SessionManagementType and the SessionManagementUrl will be ignored