Gantry::Control::C::AuthenRegularAuthenBase subclass for normal ORMs. | |
Download |
Gantry::Control::C::AuthenRegular Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Tim Keefer
- Publisher web site:
- http://search.cpan.org/~tkeefer/
Gantry::Control::C::AuthenRegular Tags
Gantry::Control::C::AuthenRegular Description
AuthenBase subclass for normal ORMs. Gantry::Control::C::AuthenRegular is a Perl module with AuthenBase subclass for normal ORMs.SYNOPSISuse Gantry::Control::C::AuthenRegular qw/-Engine=MP20/;METHODuser_model Returns Gantry::Control::Model::auth_users. If you want something else, try Gantry::Control::C::AuthenCDBI 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::AuthenRegular 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::AuthenRegular Related Software