Add support to select the primary workspace for authentication
--------------------------------------------------------------
Key: SLING-2300
URL: https://issues.apache.org/jira/browse/SLING-2300
Project: Sling
Issue Type: New Feature
Components: Authentication
Affects Versions: Auth Core 1.0.6
Reporter: Felix Meschberger
Assignee: Felix Meschberger
Fix For: Auth Core 1.1.0
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira