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
.
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
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
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