[Catalyst] How to do pass-through login?
gunnarstrand at yahoo.com
Fri Jul 10 21:33:43 GMT 2009
Larry Leszczynski skrev:
> Hi Gunnar -
>> Thanks to all who answered my post regarding pass-through login! It put
>> me on the right track and it works like a charm now.
>> In my solution I have an action, Catalyst::Action::Restricted, which I
>> put on the subroutines which require a logged-in user
>> (:ActionClass('Restricted')). If no user is logged in, then the request
>> state is saved and the user forwarded to the login page.
>> I think it would be helpful to the next guy to improve the Cookbook with
>> a more elaborate example on how to implement this. The current paragraph
>> is a little thin, IMHO.
> I'd be interested to see what you finally came up with. Maybe you could
> post to:
Sure! I just need to iron out a few wrinkles concerning parameter
handling. I'll submit an article when it's done.
Thanks for the link, I wasn't aware of the wiki.
More information about the Catalyst