[Catalyst] How to "sudo" using the Authentication plugin

Francisco Obispo fobispo at isc.org
Sat May 12 16:06:49 GMT 2012


No need to use a plugin, just use an authentication realm that requires no password.

Store the current user in a persistent session cookie and go back and forth with a single ->authenticate method

Sent from my iPhone

On May 12, 2012, at 6:01 AM, Robert Rothenberg <robrwo at gmail.com> wrote:

> 
> Actually, I came across
> 
>  Catalyst::Plugin::Authentication::Credential::NoPassword
> 
> in the latest version, which is apparently intended for the purpose of sudoing.
> 
> With a bit of fiddling, I was able to get it to work.
> 
> 
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/



More information about the Catalyst mailing list