Catalyst Maintainable web apps made easy! #68

Add authentication support

use Catalyst qw/...
                Authentication Authorization::ACL
               /;

__PACKAGE__->deny_access_unless('/queue', sub { $c->user_exists });
__PACKAGE__->deny_access_unless('/task',  sub { $c->user_exists });
__PACKAGE__->allow_access('/');
__PACKAGE__->allow_access('/api'); 
__PACKAGE__->allow_access('/account');
Copyright © 2007 Jonathan Rockway