Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-21607

Share login form doesn't appear as fallback when Kerberos is enabled

    Details

    • Regression:
      Regression

      Description

      Steps to reproduce:

      • Setup Kerberos authentication according to http://docs.alfresco.com/community/concepts/auth-kerberos-intro.html, and add it to the authentication chain, like so: authentication.chain=kerberos1:kerberos,alfrescoNtlm1:alfrescoNtlm
      • Verify that you can login automatically to Share with Kerberos SSO using a browser configured to do so, such as an Internet Explorer browser running on a machine logged into the domain.
      • Attempt to access Share using a browser which is not configured to use Kerberos, such as Chrome.

      Expected behaviour: Share login form appears.
      Actual behaviour: Share login page is loaded (/share/page?pt=login), but login form does not appear.

      The expected behaviour works fine in Alfresco Community 5.0.c, so I would consider this a regression.

      The immediate cause of the problem is that on the Share login page, it attempts to load the resource /share/service/messages_6ec063ff30c9e48d0763b05ecbd799ef.js (for example), but receives a 401 (Unauthorized) response. This means that the Javascript variable 'Alfresco' is not defined when it is used later on in some of the script tags on the HTML page, causing the login form to not appear.

      The same request to /share/service/messages_....js returns 200 OK (despite not being logged in) in an identically configured Alfresco 5.0.c.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                syastrov Seth Yastrov
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: