* 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
>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
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
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
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
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
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
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
On Dec 18, 2008, at 3:31 PM, André Warnier wrote:
Bruce Johnson wrote:
I'm looking at the code at the modperl.com site <http://www.modperl.com/book/chapters/ch6.html
> ('Authenticating against a database') as I need to write an
authentication handler for our site.
Bruce Johnson wrote:
I'm looking at the code at the modperl.com site
<http://www.modperl.com/book/chapters/ch6.html> ('Authenticating against
a database') as I need to write an authentication handler for our site.
This is part of the sample code:
# file: Apache/GateKeep
I'm looking at the code at the modperl.com site <http://www.modperl.com/book/chapters/ch6.html
> ('Authenticating against a database') as I need to write an
authentication handler for our site.
This is part of the sample code:
# file: Apache/GateKeeper.pm
use strict;
use
Thanks Robert. That did the trick.
Sumit
Robert Landrum wrote:
Sumit Shah wrote:
I printed out the contents of the Cookie attribute in the request
header and I can see the cookie present in the header. I read all the
contents into a hash and then try to check for its existence. The
if(exist
Sumit Shah wrote:
I printed out the contents of the Cookie attribute in the request header
and I can see the cookie present in the header. I read all the contents
into a hash and then try to check for its existence. The
if(exists($hashMap{'SSOTokenID'})) condition fails. Does it have
anything
On 2/20/07, Sumit Shah <[EMAIL PROTECTED]> wrote:
I printed out the contents of the Cookie attribute in the request header
and I can see the cookie present in the header. I read all the contents
into a hash and then try to check for its existence. The
if(exists($hashMap{'SSOTokenID'})) condition
I printed out the contents of the Cookie attribute in the request header
and I can see the cookie present in the header. I read all the contents
into a hash and then try to check for its existence. The
if(exists($hashMap{'SSOTokenID'})) condition fails. Does it have
anything to do with data typ
The jsp pages are also handled by JSERV. I am not sure if JSERV is
kicking in and consuming the headers. Is there a way to check which
module is being executed and in what order?
Thanks
Sumit
Michael Peters wrote:
Sumit Shah wrote:
Thanks. Yes, my handler gets invoked when I set it up as
Sumit Shah wrote:
> Thanks. Yes, my handler gets invoked when I set it up as
> PerlAccessHandler or PerlAuthenHandler but does not fetch any cookies. I
> am not sure if it has anything to do with the requests (.jsp files) its
> handling.
My guess is that something else is running first and consu
Thanks. Yes, my handler gets invoked when I set it up as
PerlAccessHandler or PerlAuthenHandler but does not fetch any cookies. I
am not sure if it has anything to do with the requests (.jsp files) its
handling.
I will try to dump the headers and see what it gets.
Thanks
Sumit
Perrin Harkins
On 2/20/07, Sumit Shah <[EMAIL PROTECTED]> wrote:
I did a small test to see if I can fetch the cookies without using
PerlAccessHandler and PerlAuthenHandler.
So, you're saying that CGI::Cookie works for you from the PerlHandler
phase but not from the PerlAccessHandler phase. And I assume you'r
. But the handler
> > still fails to fetch the cookies. The browser does pass the cookies. I
> > can see them in IEHTTPHeaders. I would appreciate if someone could let
> > me know why this could happen?
> >
> > Thanks
> > Sumit
> >
> > Rober
wrote:
Sumit Shah wrote:
Hello,
I have a Mod Perl authentication handler and it needs to retrieve
the session id from a cookie. It is unable to retrieve any cookies
and I get the following error. It does not even print any of the
cookies. I would appreciate any help with this.
my $token
Shah wrote:
Hello,
I have a Mod Perl authentication handler and it needs to retrieve the
session id from a cookie. It is unable to retrieve any cookies and I
get the following error. It does not even print any of the cookies. I
would appreciate any help with this.
my $token = $cookies
Sumit Shah wrote:
Hello,
I have a Mod Perl authentication handler and it needs to retrieve the
session id from a cookie. It is unable to retrieve any cookies and I get
the following error. It does not even print any of the cookies. I would
appreciate any help with this.
my $token
Sumit
Michael Peters wrote:
Sumit Shah wrote:
Hello,
I have a Mod Perl authentication handler and it needs to retrieve the
session id from a cookie. It is unable to retrieve any cookies and I get
the following error. It does not even print any of the cookies. I would
appreciate any help
Sumit Shah wrote:
> Hello,
>
> I have a Mod Perl authentication handler and it needs to retrieve the
> session id from a cookie. It is unable to retrieve any cookies and I get
> the following error. It does not even print any of the cookies. I would
> appreciate any help with
Hello,
I have a Mod Perl authentication handler and it needs to retrieve the
session id from a cookie. It is unable to retrieve any cookies and I get
the following error. It does not even print any of the cookies. I would
appreciate any help with this.
Can't call method "va
Why does the Authentication handler been called many times unnecessarily for
a url pattern like (http://localhost/test), Is there any way to ignore
within the handler it self.
Is it advisable to use $r->is_initial_req; and return OK.
.
--
View this message in context:
h
27 matches
Mail list logo