Catalyst-Helper-AuthDBIC

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

0.10 Aug 27 2009
     - Fix RT #49036 (thanks Tsvetozar Penov)
0.09 Jun 18 2009
     - Fix RT # 47075 (thanks KMX)
0.08 May 28 2009
     - Fix issue with Directory::Scratch in t/02-usage.t (thanks G.Wade Johnson)
0.07 September 25 2008
     - Don't want to generate templates unless using password cred.
0.06 September 24 2008
     - Moved from DBIx::Class::DigestColumns to DBIx::Class::EncodedColumn
     - Added option for password or http credentials.
0.05 Tue Sep 2 2008
     - Bug fix for Multi::Level::App::Names
     - Addition of model config to .conf file
     - Changed from CatalystX starter to Module::Starter proper (make
       installdeps now works)
0.04 Mon Sep 1  2008
     - Another stupid bug removed in Schema creation for Multi::Level::AppNames
0.03 Mon Sep 1  2008
     - Remove the UNIVERSAL::require dep
     - Fix app_name to do the right thing with Multi::Level::AppNames

script/auth_bootstrap.pl  view on Meta::CPAN


my $credential = '';
my $help = undef;

GetOptions ( "credential=s" => \$credential,
         help => \$help);

pod2usage(1) if ( $help || !$credential );

if  ($credential !~ /^(http|password)$/) {
    die "Valid credentials are 'http' for basic auth or 'password' for web based auth";
}

Catalyst::Helper::AuthDBIC::make_model();
Catalyst::Helper::AuthDBIC::mk_auth_controller() if $credential eq 'password';
Catalyst::Helper::AuthDBIC::add_plugins();
Catalyst::Helper::AuthDBIC::add_config($credential);
Catalyst::Helper::AuthDBIC::write_templates() if $credential eq 'password';
Catalyst::Helper::AuthDBIC::update_makefile();
Catalyst::Helper::AuthDBIC::add_user_helper();



( run in 0.238 second using v1.01-cache-2.11-cpan-4d50c553e7e )