3 package Catalyst::Plugin::Authentication::Store::Htpasswd;
8 use Catalyst::Plugin::Authentication::Store::Htpasswd::Backend;
13 $c->default_auth_store(
14 Catalyst::Plugin::Authentication::Store::Htpasswd::Backend->new(
15 $c->config->{authentication}{htpasswd}
30 Catalyst::Plugin::Authentication::Store::Htpasswd - Authentication
31 database in C<<$c->config>>.
37 Authentication::Store::Htpasswd
38 Authentication::Credential::Password
41 __PACKAGE__->config->{authentication}{htpasswd} = "...";
44 my ( $self, $c ) = @_;
46 $c->login( $c->req->param("login"), $c->req->param("password"), );
51 This plugin uses C<Apache::Htpasswd> to let your application use C<.htpasswd>
52 files for it's authentication storage.
60 This method will popultate C<< $c->config->{authentication}{store} >> so that
61 L<Catalyst::Plugin::Authentication/default_auth_store> can use it.
69 =item $c->config->{authentication}{htpasswd}
71 The path to the htpasswd file.