Export to GitHub

couchdb4j - issue #2

Support http basic auth


Posted on Oct 3, 2007 by Helpful Rhino

I added to your Session code in order to support this. I use a Proxy with apache that allows queries to CouchDb over port 80 but requires basic http authentication. Its trivial given the use of commons-http-client but see attached...works for me. Hope it helps.

Attachments

Comment #1

Posted on Oct 30, 2007 by Helpful Elephant

Works for me...

I was wondering how people were planning on doing auth with CouchDB. Proxied connections seems a little over the top (I'd like to see it built-in to CouchDB itself), but it sounds like a good solution. I'll add the code.

Comment #2

Posted on Oct 30, 2007 by Helpful Elephant

(No comment was entered for this change.)

Status: Fixed

Labels:
Type-Defect Priority-Medium