Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 53334 invoked from network); 2 Feb 2010 21:08:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Feb 2010 21:08:46 -0000 Received: (qmail 8311 invoked by uid 500); 2 Feb 2010 21:08:46 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 8229 invoked by uid 500); 2 Feb 2010 21:08:45 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 8219 invoked by uid 99); 2 Feb 2010 21:08:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 21:08:45 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 21:08:43 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6E85229A001A for ; Tue, 2 Feb 2010 13:08:22 -0800 (PST) Message-ID: <759212630.33961265144902451.JavaMail.jira@brutus.apache.org> Date: Tue, 2 Feb 2010 21:08:22 +0000 (UTC) From: "Benoit Chesneau (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Closed: (COUCHDB-636) proxy authentification handler In-Reply-To: <1833681019.27351265122458796.JavaMail.jira@brutus.apache.org> 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/COUCHDB-636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benoit Chesneau closed COUCHDB-636. ----------------------------------- Resolution: Fixed Fix Version/s: 0.12 0.11 commited in trunk. > proxy authentification handler > ------------------------------ > > Key: COUCHDB-636 > URL: https://issues.apache.org/jira/browse/COUCHDB-636 > Project: CouchDB > Issue Type: Improvement > Affects Versions: 0.11, 0.12 > Reporter: Benoit Chesneau > Fix For: 0.11, 0.12 > > Attachments: proxyauth.diff, proxyauth2.patch > > > Find attached a patch that add a proxy authentification handler to couch_httpd_auth. > This handler allows creation of a userCtx objec from a user authenticated remotly. The client just pass specific headers to CouchDB and the handler create the userCtx. Headers name can be defined in local.ini. By thefault they are : > * X-Auth-CouchDB-UserName : username, (x_auth_username in couch_httpd_auth section) > * X-Auth-CouchDB-Roles : user roles, list of roles separated by a comma (x_auth_roles in couch_httpd_auth section) > * X-Auth-CouchDB-Token : token to authenticate the authorization (x_auth_token in couch_httpd_auth section). This token is an hmac-sha1 created from secret key and username. The secret key should be the same in the client and couchdb node. secret key is the secret key in couch_httpd_auth section of ini. This token is optional if secret key isn't defined. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.