You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2010/01/13 17:06:54 UTC

[jira] Updated: (JCR-2045) Jcr-Server: missing-auth-mapping init parameter should have option for GuestCredential login

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

angela updated JCR-2045:
------------------------

    Attachment: JCR-2045.patch

> Jcr-Server: missing-auth-mapping init parameter should have option for GuestCredential login
> --------------------------------------------------------------------------------------------
>
>                 Key: JCR-2045
>                 URL: https://issues.apache.org/jira/browse/JCR-2045
>             Project: Jackrabbit Content Repository
>          Issue Type: New Feature
>          Components: jackrabbit-jcr-server, jackrabbit-webapp, JCR 2.0
>            Reporter: angela
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: JCR-2045.patch
>
>
> the missing-auth-mapping parameter of the servlets contained in jcr-server is defined as follows:
>              <param-value>anonymous:anonymous</param-value>
>              <description>
>                  Defines how a missing authorization header should be handled.
>                  1) If this init-param is missing, a 401 response is generated.
>                     This is suiteable for clients (eg. webdav clients) for which
>                     sending a proper authorization header is not possible if the
>                     server never sent a 401.
>                  2) If this init-param is present with an empty value,
>                     null-credentials are returned, thus forcing an null login
>                     on the repository.
>                  3) If this init-param has a 'user:password' value, the respective
>                     simple credentials are generated.
>              </description>
> JCR 2.0 introduces GuestCredentials used to obtain a "anonymous" session.
> Therefore we should probably extend/modify the missing-auth-param in a way that
> allows to distinguish between
> - null-login
> - guest login
> in case of missing authorization header.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.