incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <bchesn...@gmail.com>
Subject Re: CouchDB Validation function and security API ..
Date Sun, 13 Sep 2009 09:19:02 GMT
On Sun, Sep 13, 2009 at 10:31 AM, Debasish Ghosh
<ghosh.debasish@gmail.com> wrote:
> I think I am doing something wrong. Would appreciate any help on this ...
> In my local.ini, I have set up the following :
>
> [admins]
> [jchris = secretpass
>
> [httpd]
> authentication_handlers = {couch_httpd, default_authentication_handler}
>
> and I create a database using
>
> curl -vX PUT http://jchris:secretpass@localhost:5984/albums
>
> I get : {ok, true}
>
> How do I get the _session handler that you have mentioned ? Doing a ..
>
> $ curl http://jchris:mysecretpassword@localhost:5984/_session
>
> obviously doesn't work, since I have not set anything in the session and it
> gives me an error. You have mentioned in the mail "when you are
> properly logged in". Do I have to handle user login myself through some
> pluggable login module ? I think I am missing something here. Help!
>
> Thanks.
> - Debasish
>
for _session handler you have to setup the cookie auth handler.

- benoit

Mime
View raw message