Apache2::AuthCookie

Apache2::AuthCookie

am 10.05.2010 17:31:09 von Michel Jansen

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

am 10.05.2010 17:44:34 von Adam Prime

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

am 10.05.2010 19:19:12 von Michael Schout

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

Re: Apache2::AuthCookie

am 10.05.2010 20:59:46 von aw

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

am 11.05.2010 16:46:06 von Michael Schout

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