Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 90042 invoked from network); 16 Oct 2010 20:02:44 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Oct 2010 20:02:44 -0000 Received: (qmail 4717 invoked by uid 500); 16 Oct 2010 20:02:43 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 4690 invoked by uid 500); 16 Oct 2010 20:02:43 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 4683 invoked by uid 99); 16 Oct 2010 20:02:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Oct 2010 20:02:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Oct 2010 20:02:43 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9GK2MPs027088 for ; Sat, 16 Oct 2010 20:02:22 GMT Message-ID: <25147968.4341287259342716.JavaMail.jira@thor> Date: Sat, 16 Oct 2010 16:02:22 -0400 (EDT) From: "Douglas Jose (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-2773) HTTP digest authentication support In-Reply-To: <29611809.73031286789492801.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCR-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Douglas Jose updated JCR-2773: ------------------------------ Attachment: JCR-2773.patch Implementation of the suggested refactorings. > HTTP digest authentication support > ---------------------------------- > > Key: JCR-2773 > URL: https://issues.apache.org/jira/browse/JCR-2773 > Project: Jackrabbit Content Repository > Issue Type: New Feature > Components: jackrabbit-core, jackrabbit-jcr-server, jackrabbit-webapp, security > Reporter: Douglas Jose > Attachments: http-digest.patch, JCR-2773.patch > > > I have extended Jackrabbit to allow HTTP digest authentication through WebDAV, as Windows 7 can't connect to a WebDAV repository using basic authentication. > The implementation is based on Tomcat's source code (I have used it as a reference to implement the same authentication handling in Jackrabbit). I hope that's not a problem. > In order to enable the digest authentication, you need to: > - Change the WebDAV servlet from 'org.apache.jackrabbit.j2ee.SimpleWebdavServlet' to 'org.apache.jackrabbit.j2ee.DigestWebdavServlet' in the web.xml file; > - Change the LoginModule to 'org.apache.jackrabbit.core.security.simple.DigestLoginModule' in the repository.xml file > - Add the parameter 'passwordsFile' to the DigestLoginModule with the path of the passwords file. > - Add to the passwords file created above the user id and the password digest. The utility DigestPasswordUtil in the jackrabbit-jcr-commons project can be used to generate the entry to be appended to the passwords file. > java -cp target/jackrabbit-jcr-commons-2.2-SNAPSHOT.jar org.apache.jackrabbit.util.DigestPasswordUtil user realm password > The DigestLoginModule configuration is optional, I believe the DigestWebdavServlet should work normally with the SimpleLoginModule which accepts any credentials. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.