On 5/23/06, Ed Pigg <suppressed> wrote:
On May 23, 2006, at 8:39 PM, Cees Hek wrote: > What you can do is create a runmode that generates a login HTML page. > Then just set the LOGIN_RUNMODE config parameter to tell the Authen > plugin to redirect to that runmode when a login is required. You can > also provide an external URL through LOGIN_URL, which could be used to > send a user to a central authentication website. Will that work if you are protecting all runmodes? You know, chicken/ egg sort of thing? You want to protect all, but you need the LOGIN_RUNMODE to log in, but all runmodes are protected, but you.....
I think the login runmode would have to remain unprotected... But I
haven't tested it. The code just sets the prerun_mode to the new
login runmode, so it may actually work.
Your best bet is to just test it.
Cheers,
Cees
---------------------------------------------------------------------
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.