Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Auth Core 1.0.6
-
None
Description
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