You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2017/03/20 13:14:41 UTC

[jira] [Resolved] (SLING-1401) Samples should use sling:authRequestLogin=true instead of setting "Allow Anonymous Access" to false.

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

Bertrand Delacretaz resolved SLING-1401.
----------------------------------------
    Resolution: Won't Fix

This is very old indeed, resolving as won't fix for now.

> Samples should use sling:authRequestLogin=true instead of setting "Allow Anonymous Access" to false.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: SLING-1401
>                 URL: https://issues.apache.org/jira/browse/SLING-1401
>             Project: Sling
>          Issue Type: Bug
>          Components: Samples
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>             Fix For: Launchpad Content 2.0.10
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)