Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-2300

Add support to select the primary workspace for authentication

    XMLWordPrintableJSON

Details

    Description

      The JCR based ResourceResolverFactory supports selecting the Workspace to which a session should be created by specifying the user.jcr.workspace property of the credentials map. Currently the Sling authenticator does not support feeding that property from a request.

      To fully support certain use cases – particularly WebDAV which accesses different workspaces through the URL space (e.g. /server/wsp1/content accesses the /content item on the "wsp1" workspace through WebDAVEx) – the Sling Authenticator should support accessing select workspaces directly.

      This can be indicated by a j_workspace request parameter or request attribute. The request attribute case can be used by the WebDAVEx bundle to extract the workspace name from the URL and feed the attribute for authentication.

      Attachments

        Activity

          People

            fmeschbe Felix Meschberger
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: