You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Michel Jansen <Mi...@Web-ICT.com> on 2010/05/10 17:31:09 UTC

Apache2::AuthCookie

Hi,

Since i understand that http-authentication is not used much and because
it is impossible to logout from an authenticated session without closing
the browser i am looking at Apache2::AuthCookie to replace
http-authentication. I installed the module but i need some more
examples to get things going. Can anyone help me out? Currently i get
the error "configuration error:  couldn't check user.  No user file?" in
the apache log but i cannot find the place where i should store the
passwd file?

Is it possible to connect AuthCookie to AuthDBI?

Hope someone can help me...

Kind Regards,


Michel Jansen


Re: Apache2::AuthCookie

Posted by Adam Prime <ad...@utoronto.ca>.
Michel Jansen wrote:
> Hi,
> 
> Since i understand that http-authentication is not used much and because
> it is impossible to logout from an authenticated session without closing
> the browser i am looking at Apache2::AuthCookie to replace
> http-authentication. I installed the module but i need some more
> examples to get things going. Can anyone help me out? Currently i get
> the error "configuration error:  couldn't check user.  No user file?" in
> the apache log but i cannot find the place where i should store the
> passwd file?
> 
> Is it possible to connect AuthCookie to AuthDBI?

You might want to take a look at:

http://search.cpan.org/dist/Apache2-AuthCookieDBI/

Adam

Re: Apache2::AuthCookie

Posted by Michael Schout <ms...@gkg.net>.
On 05/10/2010 01:59 PM, André Warnier wrote:

> Michael,
> I am using that module a lot, and have used it as a base for many
> variations of Apache AAA.
> It may please you to know that derivates of that module are being used
> daily by thousands of people spread all over the world (although they do
> not always know this; the best things work quietly and reliably in the
> background).

Thanks!  AuthCookie has been around for a very long time (first released
in 2000) so I suspect there are tons of sites that make use of it.  Its
hard to guage exactly how many though :).

Michael Schout

Re: Apache2::AuthCookie

Posted by André Warnier <aw...@ice-sa.com>.
Michael Schout wrote:
> On 05/10/2010 10:31 AM, Michel Jansen wrote:
>> Is it possible to connect AuthCookie to AuthDBI?
> 
> I'm the Author of AuthCookie.
> 
..
Michael,
I am using that module a lot, and have used it as a base for many 
variations of Apache AAA.
It may please you to know that derivates of that module are being used 
daily by thousands of people spread all over the world (although they do 
not always know this; the best things work quietly and reliably in the 
background).

Many, many thanks.
André


Re: Apache2::AuthCookie

Posted by Michael Schout <ms...@gkg.net>.
On 05/10/2010 10:31 AM, Michel Jansen wrote:
> Is it possible to connect AuthCookie to AuthDBI?

I'm the Author of AuthCookie.

AuthCookie is a framework for creating authentication modules.  You
either have to implement your own auth module, using AuthCookie as the
base class, or use one of the many subclasses already on CPAN, as
suggested in the AuthCookie documentation.

I wrote Apache::AuthTicket which does ticket based auth using AuthCookie
and a DBI database store.

There are many others as well.

Regards,
Michael Schout