3 package Catalyst::Plugin::Authentication::Store::Htpasswd::User;
4 use base qw/Catalyst::Plugin::Authentication::User Class::Accessor::Fast/;
9 BEGIN { __PACKAGE__->mk_accessors(qw/file name/) }
12 my ( $class, $name, $file ) = @_;
20 sub supported_features {
29 my ( $self, $password ) = @_;
31 return $self->file->htCheckPassword( $self->name, $password );
36 split( ",", $self->info_string );
41 $self->file->fetchInfo( $self->name );
52 Catalyst::Plugin::Authentication::Store::Htpasswd::User - A user object
53 representing an entry in an htpasswd file.
57 use Catalyst::Plugin::Authentication::Store::Htpasswd::User;