Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 75070 invoked from network); 12 Oct 2010 07:02:03 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Oct 2010 07:02:03 -0000 Received: (qmail 96261 invoked by uid 500); 12 Oct 2010 07:02:03 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 96140 invoked by uid 500); 12 Oct 2010 07:02:00 -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 96127 invoked by uid 99); 12 Oct 2010 07:01:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Oct 2010 07:01:59 +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; Tue, 12 Oct 2010 07:01:57 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9C71aFN017100 for ; Tue, 12 Oct 2010 07:01:36 GMT Message-ID: <20146827.91531286866895992.JavaMail.jira@thor> Date: Tue, 12 Oct 2010 03:01:35 -0400 (EDT) From: "angela (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 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-2773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela updated JCR-2773: ------------------------ Component/s: security jackrabbit-webapp jackrabbit-jcr-server jackrabbit-core > 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 > > > 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.