Re: problem with "note_basic_auth_failure"

[prev] [thread] [next] [Date index for 2004/10/28]

From: Geoffrey Young
Subject: Re: problem with "note_basic_auth_failure"
Date: 18:42 on 28 Oct 2004

>         # get user's authentication credentials
>         my ($res, $sent_pw) = $r->get_basic_auth_pw;
>        $r->note_basic_auth_failure;

do not call note_basic_auth_failure here.

> Hope someone will see wrong settings or errors in the code that I overlook.
> Grareful for any hints,

I think that the above fix ought to work, but if it doesn't you can just
steal an example from here:

  http://www.modperlcookbook.org/code/ch13/Cookbook/Authenticate.pm

and read the corresponding explanation here:

  http://www.modperlcookbook.org/chapters/ch13.pdf

specifically, you will want to read recipe 13.3 to understand how the API
interacts with the HTTP authentication challenge/response cycle.

HTH

--Geoff

        -- 
        Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Re: problem with "note_basic_auth_failure"
Geoffrey Young 18:42 on 28 Oct 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52