Support configurable anonymous user credentials
-----------------------------------------------
Key: SLING-2276
URL: https://issues.apache.org/jira/browse/SLING-2276
Project: Sling
Issue Type: New Feature
Components: Authentication
Affects Versions: Auth Core 1.0.6
Reporter: Felix Meschberger
Currently anonymous access caused by missing credentials in the request is
granted using the underlying repository's notion of anonymous user. This is
achieved by calling ResourceResolverFactory.getResourceResolver with a null
argument.
Sometimes, though, it may be the case, that the underlying ResourceProvider(s)
do not grant access for null credentials. One such case might be a jackrabbit
repository whose anonymous user has been disabled and Repository.login with
null credentials would fail.
As discussed on the dev [1] and users [2] list, it might be helpful to be able
to configure user name and password for assumed anonymous access.
[1] http://markmail.org/message/ovxno55hnfl74ufe
[2] http://markmail.org/message/i6sk2a6nyeehzde5
--
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