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

Samples should use sling:authRequestLogin=true instead of setting "Allow Anonymous Access" to false.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • Samples
    • None

    Description

      Setting "Allow Anonymous Access" to false prevents WebDAV on / from working (SLING-1400), and anyway instructing users to login looks useful.

      Samples like the 46-line blog (http://sling.apache.org/site/46-line-blog.html) and the esp blog sample should rather instruct users to first login via http://localhost:8888/?sling:authRequestLogin=true

      I'll also add that link to the default Sling index.html page, and add tests that verify that this login URL returns status 401.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bdelacretaz Bertrand Delacretaz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: