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

Support configurable anonymous user credentials

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Auth Core 1.0.6
    • Auth Core 1.1.0
    • Authentication
    • 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

      Attachments

        1. SLING-2276.patch
          5 kB
          Felix Meschberger

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: