Re: Perl Authorization handler called before authentication handler

2015-06-26 Thread Jie Gao
* Lathan Bidwell wrote: > Date: Fri, 12 Sep 2014 12:14:35 -0400 > From: Lathan Bidwell > To: modperl@perl.apache.org > Subject: Perl Authorization handler called before authentication handler Not sure if you still need this, but my findings are it is the correct behaviour under

Re: Perl Authorization handler called before authentication handler

2014-09-14 Thread Lathan Bidwell
>On Fri, Sep 12, 2014 at 02:25:49PM -0400, Lathan Bidwell wrote: > >> The documentation for the AuthType field does not seem to give examples > for > >> custom auth handlers. > >> > >> The AuthType I put in is the package name that has the auth subroutines > in > >> it. > >> > >> This is pulled fr

Re: Perl Authorization handler called before authentication handler

2014-09-12 Thread 'lesleyb'
On Fri, Sep 12, 2014 at 02:25:49PM -0400, Lathan Bidwell wrote: > The documentation for the AuthType field does not seem to give examples for > custom auth handlers. > > The AuthType I put in is the package name that has the auth subroutines in > it. > > This is pulled from other examples, includ

Re: Perl Authorization handler called before authentication handler

2014-09-12 Thread Lathan Bidwell
The documentation for the AuthType field does not seem to give examples for custom auth handlers. The AuthType I put in is the package name that has the auth subroutines in it. This is pulled from other examples, including Apache2::AuthCookie where they set it to their module name. None of the o

Re: Perl Authorization handler called before authentication handler

2014-09-12 Thread Lathan Bidwell
1) I am sure that the subroutine is called, because I have warn statements in each subroutine. I can see in the log that authorization24 is called before authentication24. 2) The url I've been testing is /services/jacl/members/hi.html @DirectoryMatch: hm, I suppose it might be slightly faster, bu

Re: Perl Authorization handler called before authentication handler

2014-09-12 Thread 'lesleyb'
On Fri, Sep 12, 2014 at 12:14:35PM -0400, Lathan Bidwell wrote: > I have looked all around apache's documentation on how to upgrade from 2.2 > to 2.4, but they don't include much about using PerlAddAuthzProvider or > PerlAuthenHandler. > > I have this config section: > > PerlAddAuthzProvider memb

Re: Perl Authorization handler called before authentication handler

2014-09-12 Thread André Warnier
Lathan Bidwell wrote: I have looked all around apache's documentation on how to upgrade from 2.2 to 2.4, but they don't include much about using PerlAddAuthzProvider or PerlAuthenHandler. I have this config section: PerlAddAuthzProvider membersuser Application::User::Members->authorize24

Perl Authorization handler called before authentication handler

2014-09-12 Thread Lathan Bidwell
I have looked all around apache's documentation on how to upgrade from 2.2 to 2.4, but they don't include much about using PerlAddAuthzProvider or PerlAuthenHandler. I have this config section: PerlAddAuthzProvider membersuser Application::User::Members->authorize24 DirectoryIndex disab