Re: Authentication Question

2011-10-19 Thread Wordit
On Wed, Oct 19, 2011 at 11:59 AM, Paul Hirst wrote: > > If I can avoid it I'd rather not have users really exist in the _users > database but if this is unavoidable maybe I could create them on the fly? Paul, I added users with existing logins to a couch db as needed. The existing system in my

Couch Incarnate: views in DB-form, to allow map-reduce chains

2011-10-19 Thread Alon Keren
Hi folks! In the last few months, between projects, I've been tinkering with ideas and implementations for making map-reduce chains work. I think my current direction is solid enough to share - and I hope to get from you guys either encouragement, insight, or a "hold it, I have a much better solut

RE: Authentication Question

2011-10-19 Thread Paul Hirst
>>> You could enable the proxy authentication handler; >> 1. The roles don't appear to be included in the Token so how are they >> validated? It sounds like the client could send whatever it liked? Only >> the username is included in the token calculation. > Why would youneed to validate roles? y

Re: Authentication Question

2011-10-19 Thread Benoit Chesneau
On Wednesday, October 19, 2011, Paul Hirst wrote: >> -Original Message- >> From: Robert Newson [mailto:rnew...@apache.org] >> Sent: 19 October 2011 11:04 >> To: user@couchdb.apache.org >> Subject: Re: Authentication Question >> >> You could enable the proxy authentication handler; > > [sni

RE: Authentication Question

2011-10-19 Thread Paul Hirst
> -Original Message- > From: Robert Newson [mailto:rnew...@apache.org] > Sent: 19 October 2011 11:04 > To: user@couchdb.apache.org > Subject: Re: Authentication Question > > You could enable the proxy authentication handler; [snip] I read about that but it wasn't clear to me how I could u

Re: Authentication Question

2011-10-19 Thread Robert Newson
You could enable the proxy authentication handler; %% @doc proxy auth handler. % % This handler allows creation of a userCtx object 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.

Re: Authentication Question

2011-10-19 Thread CGS
I think you can start by deploying your DB files in directories protected by password (https) and use redirection in your server. Never tried it. Cheers, CGS On 10/19/2011 11:59 AM, Paul Hirst wrote: Hi, I've been trying to read around this on the web but I just can't find an answer which

Authentication Question

2011-10-19 Thread Paul Hirst
Hi, I've been trying to read around this on the web but I just can't find an answer which makes sense to me. I would like to build a couch app and I would like to use an existing system to do the authentication. I can build an interface on this other system to do whatever is required to make th