<?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 GetWeb ticket using IIS - SSO in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/GetWeb-ticket-using-IIS-SSO/m-p/1342627#M413443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have requirement where we need to use Windows authentication to get ticket instead of Trusted IP in config file.&lt;/P&gt;&lt;P&gt;We have followed the below settings, but still getting error.&lt;/P&gt;&lt;P&gt;PFB -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Settings -&lt;/P&gt;&lt;P&gt;&lt;EM&gt;QlikView needs to trust the code asking for the ticket.&amp;nbsp; There is a web page within the QlikView web server called GetWebTicket.aspx which handles requests for tickets, this will only return a ticket to a trusted user/process and this is identified using one of two options&lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;Option 1 – use windows permissions&lt;/EM&gt;&lt;UL style="padding: 0px 0px 0px 30px; font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit; list-style-type: square;"&gt;&lt;LI&gt;&lt;EM&gt;The code or process asking for a ticket needs to run as or provide a windows user identity. The user ID must be a member of the QlikView Administrators windows group on the QlikView server.&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;As the GetWebTicket page runs under the QVAJAXZFC directory on the web server and one of the above steps made the directory work with Anonymous users – for this page only – enable windows authentication in IIS&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Now the Login page must authenticate itself when requesting a ticket as a windows user and that user must be a QlikView Administrator. In the attached example the login is hardcoded, however this could be configured in other ways&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM&gt;Error - &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;WARNING: NEGOTIATE authentication error: No valid credentials provided (Mechanism level: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt))&lt;/P&gt;&lt;P&gt;org.apache.http.client.HttpResponseException: Internal Server Error&lt;/P&gt;&lt;P&gt; at org.apache.http.impl.client.AbstractResponseHandler.handleResponse(AbstractResponseHandler.java:69)&lt;/P&gt;&lt;P&gt; at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:65)&lt;/P&gt;&lt;P&gt; at connectToQlik.getTicket(connectToQlik.java:134)&lt;/P&gt;&lt;P&gt; at connectToQlik.testIt(connectToQlik.java:59)&lt;/P&gt;&lt;P&gt; at connectToQlik.main(connectToQlik.java:40)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have provide windows credentials also the user is present in Administrator and &lt;SPAN style="background: white; color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-IN; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;QlikView Management API&lt;/SPAN&gt; group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me on the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Akshay &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Apr 2017 12:12:42 GMT</pubDate>
    <dc:creator>akshayjain90</dc:creator>
    <dc:date>2017-04-19T12:12:42Z</dc:date>
    <item>
      <title>GetWeb ticket using IIS - SSO</title>
      <link>https://community.qlik.com/t5/QlikView/GetWeb-ticket-using-IIS-SSO/m-p/1342627#M413443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have requirement where we need to use Windows authentication to get ticket instead of Trusted IP in config file.&lt;/P&gt;&lt;P&gt;We have followed the below settings, but still getting error.&lt;/P&gt;&lt;P&gt;PFB -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Settings -&lt;/P&gt;&lt;P&gt;&lt;EM&gt;QlikView needs to trust the code asking for the ticket.&amp;nbsp; There is a web page within the QlikView web server called GetWebTicket.aspx which handles requests for tickets, this will only return a ticket to a trusted user/process and this is identified using one of two options&lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;Option 1 – use windows permissions&lt;/EM&gt;&lt;UL style="padding: 0px 0px 0px 30px; font-family: inherit; font-size: 13px; font-style: inherit; font-weight: inherit; list-style-type: square;"&gt;&lt;LI&gt;&lt;EM&gt;The code or process asking for a ticket needs to run as or provide a windows user identity. The user ID must be a member of the QlikView Administrators windows group on the QlikView server.&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;As the GetWebTicket page runs under the QVAJAXZFC directory on the web server and one of the above steps made the directory work with Anonymous users – for this page only – enable windows authentication in IIS&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Now the Login page must authenticate itself when requesting a ticket as a windows user and that user must be a QlikView Administrator. In the attached example the login is hardcoded, however this could be configured in other ways&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM&gt;Error - &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;WARNING: NEGOTIATE authentication error: No valid credentials provided (Mechanism level: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt))&lt;/P&gt;&lt;P&gt;org.apache.http.client.HttpResponseException: Internal Server Error&lt;/P&gt;&lt;P&gt; at org.apache.http.impl.client.AbstractResponseHandler.handleResponse(AbstractResponseHandler.java:69)&lt;/P&gt;&lt;P&gt; at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:65)&lt;/P&gt;&lt;P&gt; at connectToQlik.getTicket(connectToQlik.java:134)&lt;/P&gt;&lt;P&gt; at connectToQlik.testIt(connectToQlik.java:59)&lt;/P&gt;&lt;P&gt; at connectToQlik.main(connectToQlik.java:40)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have provide windows credentials also the user is present in Administrator and &lt;SPAN style="background: white; color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-IN; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;QlikView Management API&lt;/SPAN&gt; group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me on the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Akshay &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 12:12:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetWeb-ticket-using-IIS-SSO/m-p/1342627#M413443</guid>
      <dc:creator>akshayjain90</dc:creator>
      <dc:date>2017-04-19T12:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: GetWeb ticket using IIS - SSO</title>
      <link>https://community.qlik.com/t5/QlikView/GetWeb-ticket-using-IIS-SSO/m-p/1342628#M413444</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;Can anyone help me on the above request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Akshay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 06:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetWeb-ticket-using-IIS-SSO/m-p/1342628#M413444</guid>
      <dc:creator>akshayjain90</dc:creator>
      <dc:date>2017-04-20T06:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: GetWeb ticket using IIS - SSO</title>
      <link>https://community.qlik.com/t5/QlikView/GetWeb-ticket-using-IIS-SSO/m-p/1342629#M413445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi akshay,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; are you passing administrator credentials while hitting httprequest in webticket page&lt;/P&gt;&lt;P&gt;you need to pass request.networkcredentials as administrator credentials this will be default credential for every login user.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 06:57:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetWeb-ticket-using-IIS-SSO/m-p/1342629#M413445</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-20T06:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: GetWeb ticket using IIS - SSO</title>
      <link>https://community.qlik.com/t5/QlikView/GetWeb-ticket-using-IIS-SSO/m-p/1342630#M413446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narasimha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am passing Windows user credential , which is QlikAdmin User also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain more on this - "you need to pass request.networkcredentials as administrator credentials this will be default credential for every login user."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Akshay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 08:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetWeb-ticket-using-IIS-SSO/m-p/1342630#M413446</guid>
      <dc:creator>akshayjain90</dc:creator>
      <dc:date>2017-04-20T08:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: GetWeb ticket using IIS - SSO</title>
      <link>https://community.qlik.com/t5/QlikView/GetWeb-ticket-using-IIS-SSO/m-p/1342631#M413447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;ticketinguser, ticketingpassword&lt;/STRONG&gt;&lt;/SPAN&gt; are admin userid and password (windows credentials)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HttpWebRequest client = (HttpWebRequest)WebRequest.Create(new Uri(QlikViewServerURL));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; client.PreAuthenticate = true;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; client.Method = "POST";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; client.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; client.Credentials = new NetworkCredential(&lt;STRONG&gt;ticketinguser, ticketingpassword&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; using (StreamWriter sw = new StreamWriter(client.GetRequestStream()))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sw.WriteLine(webTicketXml);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StreamReader sr = new StreamReader(client.GetResponse().GetResponseStream());&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string result = sr.ReadToEnd();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XDocument doc = XDocument.Parse(result);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return doc.Root.Element("_retval_").Value;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 09:46:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/GetWeb-ticket-using-IIS-SSO/m-p/1342631#M413447</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-20T09:46:15Z</dc:date>
    </item>
  </channel>
</rss>

