Re: PerlAuthenHandler question

2006-01-06 Thread Philip M. Gollucci
Tyler MacDonald wrote: That looks great to me. If getLoggedIn() doesn't have any side effects (such as setting $r->user), you could also make it a tiny tiny bit faster by removing the "my $user" line above, and changing this: Good catch thanks. Brain dead moment. -- ---

Re: PerlAuthenHandler question

2006-01-06 Thread Tyler MacDonald
Philip M. Gollucci <[EMAIL PROTECTED]> wrote: > sub handler { > my $r = shift; > > my $user = ISST::User->getLoggedIn($r); > > ## IS THIS CORRECT ? > ## can't used DECLINED or you get the REALM popup > return Apache2::Const::OK if $r->uri =~ > m#/timeline/(login|logout|r

PerlAuthenHandler question

2006-01-06 Thread Philip M. Gollucci
Hi, I've setup a AAA using the 3 handlers. I took a small amount from the mod_perl Cookbook, to figure out how to do it using an HTML form instead of a REALM popup box. So the good news is it works. Here's the config: ### AAA AuthType Basic AuthName