[MP2]: setting group for a request (require group ...)

2008-06-19 Thread titetluc titetluc
Hello all, I am writing a mod_perl authentication module (My::Auth). This module sets the user using the Apache2::RequestRec::user method. package My::Auth; sub { $r->user('getting the user in my module internal structure'); return OK; } In the Apache configuration file, I can use the c

Re: [MP2]: setting group for a request (require group ...)

2008-06-19 Thread Geoffrey Young
I would like to use my module in another configuration where group is checked PerlAuthHandler My::Auth Require group group1 I can not find any mod_perl API method (Apache2::RequestRec::group ?) to set the group. that's right. you have control over the user via the httpd (and thus m

Re: [MP2]: setting group for a request (require group ...)

2008-06-23 Thread titetluc titetluc
Geoffrey, André, Thank you for your answer. Conclusion: I will have to: . write my own PerlAuthzHandler . define a new directive to define my group Thanks again 2008/6/19 André Warnier <[EMAIL PROTECTED]>: > Hi. > > I believe that the issue below is more in the way of thinking about this, >

Re: [MP2]: setting group for a request (require group ...)

2008-06-23 Thread Geoffrey Young
titetluc titetluc wrote: Geoffrey, André, Thank you for your answer. Conclusion: I will have to: . write my own PerlAuthzHandler yes . define a new directive to define my group no - you can overload the Requires directive. the example I pointed you to shows you how: http://www.mo