RE: Authorization module is not working

2009-01-08 Thread Mark Hedges
On Thu, 8 Jan 2009, Odysseas Pentakalos, Ph.D. wrote: > Thanks so much for your help. That was not the problem but > it helped me see the problem. I was not importing the > Constants at the top so regardless of whether I was > returning FORBIDDEN or DECLINED, or HTTP_UNAUTHORIZED the > value was

RE: Authorization module is not working

2009-01-08 Thread Odysseas Pentakalos, Ph.D.
. Thanks again, Odysseas -Original Message- From: Mark Hedges [mailto:hed...@scriptdolphin.org] Sent: Thursday, January 08, 2009 2:24 PM To: Odysseas Pentakalos, Ph.D. Cc: modperl@perl.apache.org Subject: Re: Authorization module is not working On Wed, 7 Jan 2009, Odysseas Pentakalos, Ph.D

Re: Authorization module is not working

2009-01-08 Thread Mark Hedges
On Wed, 7 Jan 2009, Odysseas Pentakalos, Ph.D. wrote: > > sub handler { > my($r) = @_; > > my $log = $r->log; > > return FORBIDDEN unless $r->is_main; > > my $subr = $r->lookup_uri($r->uri); > my $dn = $subr->subprocess_env('SSL_CLIENT_S_DN'); > > $r->log_reason("In CertAu

Authorization module is not working

2009-01-07 Thread Odysseas Pentakalos, Ph.D.
I am trying to accomplish authorization of users using client certificates for authenticating users and a database of valid DN's for authorization. As a first step the only thing I am trying to do is verify that my authorization module has been correctly installed. So, before I attempt to write th