You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by John D Groenveld <jd...@elvis.arl.psu.edu> on 2004/04/15 20:52:02 UTC
[mp2] changing PerlAuthenHandler to RUN_ALL
I'm trying to port AuthenCache to MP2, but hitting a wall, the stacked handler
behavior differences.
<URL:http://perl.apache.org/docs/2.0/user/handlers/intro.html#toc_C_RUN_FIRST_>
Is there an easy way to change PerlAuthenHandler's behavior to RUN_ALL
so that my authen module can return OK and AuthenCache can manage the
the cache?
I suspect this has been asked and answered, but I've grepped my archives
and the guides and can't find the A or even the Q.
John
groenveld@acm.org
--
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: [mp2] changing PerlAuthenHandler to RUN_ALL
Posted by Stas Bekman <st...@stason.org>.
John D Groenveld wrote:
> I'm trying to port AuthenCache to MP2, but hitting a wall, the stacked handler
> behavior differences.
> <URL:http://perl.apache.org/docs/2.0/user/handlers/intro.html#toc_C_RUN_FIRST_>
>
> Is there an easy way to change PerlAuthenHandler's behavior to RUN_ALL
> so that my authen module can return OK and AuthenCache can manage the
> the cache?
Why can't you return DECLINED?
If the logic has to be more flexible, you could get_handlers(), look at who's
registered and then decide based on that whether to return OK or DECLINED?
> I suspect this has been asked and answered, but I've grepped my archives
> and the guides and can't find the A or even the Q.
>
> John
> groenveld@acm.org
>
>
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
--
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