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 (JIRA)" <ji...@apache.org> on 2010/02/23 09:53:27 UTC

[jira] Reopened: (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 ]

Felix Meschberger reopened SLING-1401:
--------------------------------------


IMHO we should instruct users to use the real login servlet at /system/sling/login to login into the system. This works regardless of any authentication handler might be installed and/or active in the system.

> 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
>
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.