[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgiapp] CA::Plugin::Authentication and CA::Plugin::Forward


Hi,

I'm using CA::Plugin::Authentication to protect my runmodes. When I
enter a runmode based on the value of a hidden field in a form, no
problem, I get sent to the login runmode. 
However, if I enter a runmode by calling :

 return $self->forward('runmode_that_should_be_protected');

I do not get prompted for authentication. This also seems to be the
case when using :

 return $self->runmode_that_should_be_protected_method();

I can conceive that this behaviour is to be expected in the second
case, since I guess I am calling a method, not actually a runmode, but
what about the first case (with CA::Plugin::Forward, which uses the
runmode name, and not the associated method)?

Thanks for any help,

Mike

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.