|
NAMECatalyst::Plugin::Authentication::Store::Htpasswd - Authentication database in "$c->config". SYNOPSIS use Catalyst qw/
Authentication
Authentication::Store::Htpasswd
Authentication::Credential::Password
/;
__PACKAGE__->config->{authentication}{htpasswd} = "passwdfile";
sub login : Global {
my ( $self, $c ) = @_;
$c->login( $c->req->param("login"), $c->req->param("password"), );
}
DESCRIPTIONThis plugin uses "Authen::Htpasswd" to let your application use ".htpasswd" files for it's authentication storage. METHODSsetupThis method will popultate "$c->config->{authentication}{store}" so that "default_auth_store" in Catalyst::Plugin::Authentication can use it. CONFIGURATION$c->config->{authentication}{htpasswd}The path to the htpasswd file. AUTHORSYuval Kogman "nothingmuch@woobling.org" David Kamholz "dkamholz@cpan.org" SEE ALSOAuthen::Htpasswd. COPYRIGHT & LICENSE Copyright (c) 2005 the aforementioned authors. All rights
reserved. This program is free software; you can redistribute
it and/or modify it under the same terms as Perl itself.
|