3 package Catalyst::Plugin::Authentication::Store::Htpasswd;
10 use Catalyst::Plugin::Authentication::Store::Htpasswd::Backend;
15 $c->default_auth_store(
16 Catalyst::Plugin::Authentication::Store::Htpasswd::Backend->new(
17 $c->config->{authentication}{htpasswd}
32 Catalyst::Plugin::Authentication::Store::Htpasswd - Authentication
33 database in C<< $c->config >>.
39 Authentication::Store::Htpasswd
40 Authentication::Credential::Password
43 __PACKAGE__->config->{authentication}{htpasswd} = "passwdfile";
46 my ( $self, $c ) = @_;
48 $c->login( $c->req->param("login"), $c->req->param("password"), );
53 This plugin uses C<Authen::Htpasswd> to let your application use C<.htpasswd>
54 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.
65 =head2 $c->config->{authentication}{htpasswd}
67 The path to the htpasswd file.
71 Yuval Kogman C<nothingmuch@woobling.org>
73 David Kamholz C<dkamholz@cpan.org>
79 =head1 COPYRIGHT & LICENSE
81 Copyright (c) 2005 the aforementioned authors. All rights
82 reserved. This program is free software; you can redistribute
83 it and/or modify it under the same terms as Perl itself.