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

Unable to authenticate CMIS 1.1 endpoints from Ajax (browser)

    Details

    • Resolution Time Custom Field:
      23 weeks, 4 hours, 24 minutes, 27 seconds

      Description

      I am trying to access the CMIS 1.1 browser bindings via javascript (from within and outside share) in the browser but can only authenticate via basic auth (which pops up a dialog box and is not acceptable for production)

      From within share it appears that unlike CMIS 1.0 the CMIS 1.1 endpoint is not available via the share proxy so that route doesn't work.

      I tried SSO (I'm using CAS) but it looks like the public api authenticator does not look at the request credentials(principal) so no joy there.

      I have also tried using a ticket - doesn't work with JSONP as you can't modify the headers, and doesn't work as a request parameter.
      If you make a successful Ajax call by modifying the headers then the browser won't add these details to subsequent requests in the same way that it does if you authenticate via the dialog box.
      (not very satisfactory anyway due to having to get the ticket in the first place)
      Ref:
      https://forums.alfresco.com/forum/developer-discussions/alfresco-api/cmis-11-browser-bindings-share-proxy-06042014-1243

        Attachments

          Activity

            People

            • Assignee:
              closedissues Closed Issues
              Reporter:
              idwright Ian Wright
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

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