auth_bootstrap.pl
auth-bootstrap.pl -credential (http|password)
Boostrap simple database backed authentication for a Catalyst application. The store argument is optional and defaults to http (basic) authentication. Use of the password option provides some basic html templates and (buggy - patches welcome) pass through login.
Once you're done running this script, add a user with the script/myapp_auth_admin.pl command (run myapp_auth_admin.pl -help for instructions), and then add some code to one of your controllers. For example to require application wide authentication add the following to your Controller::Root :
To install Catalyst::Helper::AuthDBIC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Helper::AuthDBIC
CPAN shell
perl -MCPAN -e shell install Catalyst::Helper::AuthDBIC
For more information on module installation, please visit the detailed CPAN module installation guide.