X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FPlugin%2FAuthentication%2FStore%2FHtpasswd.pm;h=62c4139f00ded8dc123a4f77f1169c3088ef4060;hb=ab3925ccc17b352e48e036c6fc3ffb9bb39f892c;hp=428e9baea89aa656dc49d5b78d6fef7dfa103487;hpb=e8a7c384d5406c197382271ef873bad2883bbaf6;p=catagits%2FCatalyst-Authentication-Store-Htpasswd.git diff --git a/lib/Catalyst/Plugin/Authentication/Store/Htpasswd.pm b/lib/Catalyst/Plugin/Authentication/Store/Htpasswd.pm index 428e9ba..62c4139 100644 --- a/lib/Catalyst/Plugin/Authentication/Store/Htpasswd.pm +++ b/lib/Catalyst/Plugin/Authentication/Store/Htpasswd.pm @@ -5,6 +5,8 @@ package Catalyst::Plugin::Authentication::Store::Htpasswd; use strict; use warnings; +our $VERSION = '0.01'; + use Catalyst::Plugin::Authentication::Store::Htpasswd::Backend; sub setup { @@ -38,7 +40,7 @@ database in C<<$c->config>>. Authentication::Credential::Password /; - __PACKAGE__->config->{authentication}{htpasswd} = "..."; + __PACKAGE__->config->{authentication}{htpasswd} = "passwdfile"; sub login : Global { my ( $self, $c ) = @_; @@ -48,29 +50,37 @@ database in C<<$c->config>>. =head1 DESCRIPTION -This plugin uses C to let your application use C<.htpasswd> +This plugin uses C to let your application use C<.htpasswd> files for it's authentication storage. =head1 METHODS -=over 4 - -=item setup +=head2 setup This method will popultate C<< $c->config->{authentication}{store} >> so that L can use it. -=back - =head1 CONFIGURATION -=over 4 - -=item $c->config->{authentication}{htpasswd} +=head2 $c->config->{authentication}{htpasswd} The path to the htpasswd file. -=back +=head1 AUTHORS + +Yuval Kogman C + +David Kamholz C + +=head1 SEE ALSO + +L. + +=head1 COPYRIGHT & LICNESE + + 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. =cut