<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Setup SQL (ODBC) User Directory Connector in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Setup-SQL-ODBC-User-Directory-Connector/m-p/761596#M2377</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps a little bit late but:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ODBC user directories in general have basically nothing to do with authentication. The user directories are just used to look up user attributes, that can be used to limit access to applications etc (stream access rules).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To perform a database based authentication you'll need to set up a custom authentication module as described here: &lt;A href="http://help.qlik.com/sense/2.0/en-US/developer/Subsystems/ProxyServiceAPI/Content/ProxyServiceAPI/ProxyServiceAPI-ProxyServiceAPI-Authentication.htm" title="http://help.qlik.com/sense/2.0/en-US/developer/Subsystems/ProxyServiceAPI/Content/ProxyServiceAPI/ProxyServiceAPI-ProxyServiceAPI-Authentication.htm"&gt;Authentication API&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Basically Qlik redirects to the URL that is specified in the virtual proxy config. At this URL you can perform the user&amp;nbsp; authentication (i.e. offer a login screen and validate that the user against your database). Once you validated the user credentials, you request a QlikTicket using Qlik's &lt;A href="http://help.qlik.com/sense/2.0/en-US/developer/Subsystems/ProxyServiceAPI/Content/ProxyServiceAPI/ProxyServiceAPI-ProxyServiceAPI-Authentication-Ticket-Add.htm" title="http://help.qlik.com/sense/2.0/en-US/developer/Subsystems/ProxyServiceAPI/Content/ProxyServiceAPI/ProxyServiceAPI-ProxyServiceAPI-Authentication-Ticket-Add.htm"&gt;Add ticket&lt;/A&gt;‌ call &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;as already described above. With this t&lt;SPAN style="font-size: 13.3333px;"&gt;icket&lt;/SPAN&gt; in place you again redirect to the originally requested URL (part of the ticket response). And you're done.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Perhaps the qlik-authentication project on &lt;/SPAN&gt;&lt;A href="http://branch.qlik.com/#/project/56728f52d1e497241ae697fc" style="font-size: 13.3333px;" title="http://branch.qlik.com/#/project/56728f52d1e497241ae697fc"&gt;Qlik Branch&lt;/A&gt;&lt;SPAN style="font-size: 10pt;"&gt; might be a good point to start, if you're not familiar with this. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Dec 2015 11:24:53 GMT</pubDate>
    <dc:creator>daniel_peger</dc:creator>
    <dc:date>2015-12-18T11:24:53Z</dc:date>
    <item>
      <title>Setup SQL (ODBC) User Directory Connector</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Setup-SQL-ODBC-User-Directory-Connector/m-p/761592#M2373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to see if QS allows authentication from an "internal" sql database using my own security model.&lt;/P&gt;&lt;P&gt;I came across a poor piece of documentation on how to try this but it's not very clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have successfully setup the connector however and it has pulled my users into the User section in QS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I cannot understand though is how I can now use the account to login to QS from the front end?&lt;/P&gt;&lt;P&gt;In addition there is nothing around the password authentication part - like do I even need to store this in the database?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This part of the system is not clear at all and whilst using LDAP/AD is very well documented, the SQL approach is very poor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or perhaps I am misunderstanding this particular functionality, and it's not even designed for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Immy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 14:58:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Setup-SQL-ODBC-User-Directory-Connector/m-p/761592#M2373</guid>
      <dc:creator>imtiaz_ullah</dc:creator>
      <dc:date>2015-02-20T14:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Setup SQL (ODBC) User Directory Connector</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Setup-SQL-ODBC-User-Directory-Connector/m-p/761593#M2374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm in the same conditions, does anyone found a solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Davide&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 23:04:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Setup-SQL-ODBC-User-Directory-Connector/m-p/761593#M2374</guid>
      <dc:creator />
      <dc:date>2015-09-24T23:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Setup SQL (ODBC) User Directory Connector</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Setup-SQL-ODBC-User-Directory-Connector/m-p/761594#M2375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used external authentication for this.&amp;nbsp; Basically I just used &lt;A href="http://branch.qlik.com/projects/showthread.php?521-QlikAuthNet"&gt;QlikAuthNet from Branch&lt;/A&gt;.&amp;nbsp; The user hits the url for the virtual proxy that forwards them to the external authentication (your page).&amp;nbsp; After you do whatever magic you need to do to authenticate the user, you create a ticket something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14431942557544252" jivemacro_uid="_14431942557544252" modifiedtitle="true"&gt;
&lt;P&gt;var req = new Ticket()&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp; UserDirectory = "DATABASE",&lt;/P&gt;
&lt;P&gt;&amp;nbsp; UserId = "whatevertheuseridis"&lt;/P&gt;
&lt;P&gt;};&lt;/P&gt;
&lt;P&gt;req.TicketRequest();&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That routes them back to the Qlik server which then automatically logs them into that account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UserDirectory would be whatever name you gave your database user directory.&amp;nbsp; I called mine, strangely enough, "DATABASE".&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 15:19:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Setup-SQL-ODBC-User-Directory-Connector/m-p/761594#M2375</guid>
      <dc:creator>brucearmstrong</dc:creator>
      <dc:date>2015-09-25T15:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Setup SQL (ODBC) User Directory Connector</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Setup-SQL-ODBC-User-Directory-Connector/m-p/761595#M2376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is working quite fine. For c# / .net here is also a sample to make a ticket authentication:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/sense/2.1/en-us/developer/#../Subsystems/ProxyServiceAPI/Content/ProxyServiceAPI/ProxyServiceAPI-Example-Connect-API-Certificates.htm?Highlight=ticket" title="http://help.qlik.com/sense/2.1/en-us/developer/#../Subsystems/ProxyServiceAPI/Content/ProxyServiceAPI/ProxyServiceAPI-Example-Connect-API-Certificates.htm?Highlight=ticket"&gt;http://help.qlik.com/sense/2.1/en-us/developer/#../Subsystems/ProxyServiceAPI/Content/ProxyServiceAPI/ProxyServiceAPI-Example-Connect-API-Certificates.htm?Highlight=ticket&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;Konrad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Sep 2015 05:53:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Setup-SQL-ODBC-User-Directory-Connector/m-p/761595#M2376</guid>
      <dc:creator>konrad_mattheis</dc:creator>
      <dc:date>2015-09-26T05:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Setup SQL (ODBC) User Directory Connector</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Setup-SQL-ODBC-User-Directory-Connector/m-p/761596#M2377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps a little bit late but:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ODBC user directories in general have basically nothing to do with authentication. The user directories are just used to look up user attributes, that can be used to limit access to applications etc (stream access rules).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To perform a database based authentication you'll need to set up a custom authentication module as described here: &lt;A href="http://help.qlik.com/sense/2.0/en-US/developer/Subsystems/ProxyServiceAPI/Content/ProxyServiceAPI/ProxyServiceAPI-ProxyServiceAPI-Authentication.htm" title="http://help.qlik.com/sense/2.0/en-US/developer/Subsystems/ProxyServiceAPI/Content/ProxyServiceAPI/ProxyServiceAPI-ProxyServiceAPI-Authentication.htm"&gt;Authentication API&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Basically Qlik redirects to the URL that is specified in the virtual proxy config. At this URL you can perform the user&amp;nbsp; authentication (i.e. offer a login screen and validate that the user against your database). Once you validated the user credentials, you request a QlikTicket using Qlik's &lt;A href="http://help.qlik.com/sense/2.0/en-US/developer/Subsystems/ProxyServiceAPI/Content/ProxyServiceAPI/ProxyServiceAPI-ProxyServiceAPI-Authentication-Ticket-Add.htm" title="http://help.qlik.com/sense/2.0/en-US/developer/Subsystems/ProxyServiceAPI/Content/ProxyServiceAPI/ProxyServiceAPI-ProxyServiceAPI-Authentication-Ticket-Add.htm"&gt;Add ticket&lt;/A&gt;‌ call &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;as already described above. With this t&lt;SPAN style="font-size: 13.3333px;"&gt;icket&lt;/SPAN&gt; in place you again redirect to the originally requested URL (part of the ticket response). And you're done.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Perhaps the qlik-authentication project on &lt;/SPAN&gt;&lt;A href="http://branch.qlik.com/#/project/56728f52d1e497241ae697fc" style="font-size: 13.3333px;" title="http://branch.qlik.com/#/project/56728f52d1e497241ae697fc"&gt;Qlik Branch&lt;/A&gt;&lt;SPAN style="font-size: 10pt;"&gt; might be a good point to start, if you're not familiar with this. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 11:24:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Setup-SQL-ODBC-User-Directory-Connector/m-p/761596#M2377</guid>
      <dc:creator>daniel_peger</dc:creator>
      <dc:date>2015-12-18T11:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Setup SQL (ODBC) User Directory Connector</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Setup-SQL-ODBC-User-Directory-Connector/m-p/761597#M2378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Imtiaz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This link might be handy as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/sense/2.1/en-US/online/#../Subsystems/ManagementConsole/Content/user-directory-connectors-ODBC-properties.htm" title="https://help.qlik.com/sense/2.1/en-US/online/#../Subsystems/ManagementConsole/Content/user-directory-connectors-ODBC-properties.htm"&gt;https://help.qlik.com/sense/2.1/en-US/online/#../Subsystems/ManagementConsole/Content/user-directory-connectors-ODBC-pro…&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Dec 2015 20:45:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Setup-SQL-ODBC-User-Directory-Connector/m-p/761597#M2378</guid>
      <dc:creator>reddy-s</dc:creator>
      <dc:date>2015-12-19T20:45:34Z</dc:date>
    </item>
  </channel>
</rss>

