On Tue, Jan 19, 2010 at 4:41 AM, Joscha Feth <[email protected]> wrote: > Chris Anderson wrote: > >> On Tue, Jan 12, 2010 at 8:51 AM, Paul Davis >> <[email protected]> wrote: >> > Matteo, >> > >> > While you could technically do this, it's quite a violation of the >> > properties required for map functions. Identical inputs must lead to >> > identical outputs. Otherwise you get all sorts of wonky when the >> > queried view changes and there's no way to figure out when >> > invalidation should happen. >> >> I think Matteo's not crazy. > > I have got a follow-up question on this one: with a binary build of > CouchDB - can I still write my own auth handler and plug it in? If so, > how do I do that?
to plugin other authentication schemes you generally need to write a tiny bit of erlang. Benoit has a function that allows you to set the userCtx (name and roles) using headers in an HTTP proxy. This should be easy to commit as it's totally standalone. Chris > > regards, > Joscha > > -- Chris Anderson http://jchrisa.net http://couch.io
