NAME
auth_bootstrap.pl
SYNOPSIS
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 :