Kieren Diment > Catalyst-Helper-AuthDBIC-0.09 > auth_bootstrap.pl

Download:
Catalyst-Helper-AuthDBIC-0.09.tar.gz

Annotate this POD

CPAN RT

New  1
Open  0
View Bugs
Report a bug
Source   Latest Release: Catalyst-Helper-AuthDBIC-0.10

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 :