<?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 Alfresco does not seem to correctly chain Kerberos auth in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-does-not-seem-to-correctly-chain-kerberos-auth/m-p/224628#M177758</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have filed this as an issue (&lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALFCOM-3752" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALFCOM-3752&lt;/A&gt;&lt;SPAN&gt;), but wanted to raise it here too; maybe I'm missing something important.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am authenticating users through Kerberos.&amp;nbsp; Some users will have a ticket already and will have their web browsers set up to handle Negotiate authentication and some will not.&amp;nbsp; So I would like Alfresco to try SSO first, and if it fails, request a username and password.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In testing this, I can set up password auth via Kerberos and failures chain to the next auth subsystem.&amp;nbsp; But SSO Kerberos does not.&amp;nbsp; Users simply see a blank page if the authentication fails.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Testing in Internet Explorer, users see a Windows Security dialog until they either enter valid credentials. (or they press cancel and see the blank page)&amp;nbsp; In Chrome, which doesn't support negotiate at all, users only see a blank page.&amp;nbsp; In firefox, users can only access the site if it is set up correctly AND they have a valid ticket; otherwise they see a blank page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nothing appears in the logs.&amp;nbsp; The last message my server reports is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;17:22:28,377 INFO&amp;nbsp; [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 62.619ms)&lt;BR /&gt;17:22:29,231 INFO&amp;nbsp; [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jan 2010 16:42:33 GMT</pubDate>
    <dc:creator>xkahn</dc:creator>
    <dc:date>2010-01-06T16:42:33Z</dc:date>
    <item>
      <title>Alfresco does not seem to correctly chain Kerberos auth</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-does-not-seem-to-correctly-chain-kerberos-auth/m-p/224628#M177758</link>
      <description>I have filed this as an issue (https://issues.alfresco.com/jira/browse/ALFCOM-3752), but wanted to raise it here too; maybe I'm missing something important.I am authenticating users through Kerberos.&amp;nbsp; Some users will have a ticket already and will have their web browsers set up to handle Negotiate a</description>
      <pubDate>Wed, 06 Jan 2010 16:42:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-does-not-seem-to-correctly-chain-kerberos-auth/m-p/224628#M177758</guid>
      <dc:creator>xkahn</dc:creator>
      <dc:date>2010-01-06T16:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco does not seem to correctly chain Kerberos auth</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-does-not-seem-to-correctly-chain-kerberos-auth/m-p/224629#M177759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So the forum rules ask me not to reply to myself, but …&amp;nbsp; well, I have more information.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is the way Alfresco appears to handle Kerberos SSO authentication on the HTTP level.&amp;nbsp; When Kerberos SSO is enabled, Alfresco stops using the login page and instead uses browser based authentication.&amp;nbsp; This means it sends a "401 Unauthorized" response to the request.&amp;nbsp; This code requires a "WWW-Authenticate" header which tells the client (web browser) what authentication methods are supported.&amp;nbsp; Alfresco sends only ONE authentication method (ignoring any other methods listed in the Authentication chain) – the Negotiate method.&amp;nbsp; Alfresco leaves the body of the "401 Unauthorized" response blank.&amp;nbsp; This means that browsers which don't support Negotiate (or aren't set up correctly, or the user isn't allowed to access etc, etc) can only display a blank page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So what should Alfresco do?&amp;nbsp; Alfresco &lt;/SPAN&gt;&lt;EM&gt;could&lt;/EM&gt;&lt;SPAN&gt; start supporting Basic HTTP authentication as a fallback if username/password authentication schemes are listed in the authentication chain.&amp;nbsp; In this case, the WWW-Authenticate header would list both the Negotiate method and the Basic method.&amp;nbsp; Alternatively (or additionally?) Alfresco should send some kind of message or page when sending a "401 Unauthorized" response.&amp;nbsp; Ideally, it would send the login page.&amp;nbsp; When checking if a user is authenticated, a correct cookie should be sufficient and the Basic login credentials would be as well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2010 21:27:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-does-not-seem-to-correctly-chain-kerberos-auth/m-p/224629#M177759</guid>
      <dc:creator>xkahn</dc:creator>
      <dc:date>2010-01-06T21:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco does not seem to correctly chain Kerberos auth</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-does-not-seem-to-correctly-chain-kerberos-auth/m-p/224630#M177760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was on the same boat. I even created my own alfresco kerb filter in 3.1 to send &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;WWW-Authenticate=NegotiateBasic realm="Kerberos Login"&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;With 3.2 it became further difficult . So I moved on to try mod_auth_kerb, but the issue again is SPP and CIFS implementations. So finally giving a try on NTLM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I really don't want NTLM, but looks like thats the only option.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2010 00:13:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-does-not-seem-to-correctly-chain-kerberos-auth/m-p/224630#M177760</guid>
      <dc:creator>sriram_g77</dc:creator>
      <dc:date>2010-01-13T00:13:00Z</dc:date>
    </item>
  </channel>
</rss>

