You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (Updated) (JIRA)" <ji...@apache.org> on 2011/11/10 09:16:51 UTC

[jira] [Updated] (SLING-2276) Support configurable anonymous user credentials

     [ https://issues.apache.org/jira/browse/SLING-2276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger updated SLING-2276:
-------------------------------------

    Attachment: SLING-2276.patch

Proposed (untested) patch.
                
> 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
>         Attachments: SLING-2276.patch
>
>
> 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