Gantry::Control::C::AuthenCDBI

AuthenBase subclass for normal ORMs.
Download

Gantry::Control::C::AuthenCDBI Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Tim Keefer
  • Publisher web site:
  • http://search.cpan.org/~tkeefer/

Gantry::Control::C::AuthenCDBI Tags


Gantry::Control::C::AuthenCDBI Description

AuthenBase subclass for normal ORMs. Gantry::Control::C::AuthenCDBI is a Perl module with an AuthenBase subclass for normal ORMs.SYNOPSISuse Gantry::Control::C::AuthenCDBI qw/-Engine=MP20/;METHODuser_model Returns Gantry::Control::Model::auth_users_cdbi. If you want something else, try Gantry::Control::C::AuthenRegular or make your own Gantry::Control::C::AuthenBase subclass.APACHESample Apache conf configuration < Location /location/to/auth > AuthType Basic AuthName "Manual" PerlSetVar auth_dbconn 'dbi:Pg:' PerlSetVar auth_dbuser '' PerlSetVar auth_dbpass '' PerlSetVar auth_dbcommit off PerlAuthenHandler Gantry::Control::C::AuthenCDBI require valid-user < /Location >DATABASEThis is the table that will be queried for the authentication of the user. create table "auth_users" ( "id" int4 default nextval('auth_users_seq') NOT NULL, "user_id" int4, "active" bool, "user_name" varchar, "passwd" varchar, "crypt" varchar, "first_name" varchar, "last_name" varchar, "email" varchar ); Requirements: · Perl


Gantry::Control::C::AuthenCDBI Related Software