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/user/) }
12 my ( $class, $user ) = @_;
14 bless { user => $user }, $class;
17 sub supported_features {
26 my ( $self, $password ) = @_;
28 return $self->user->check_password( $password );
33 split( ",", $self->user->extra_info );
44 Catalyst::Plugin::Authentication::Store::Htpasswd::User - A user object
45 representing an entry in an htpasswd file.
49 use Catalyst::Plugin::Authentication::Store::Htpasswd::User;