Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Catalyst::Plugin::Authentication::Store::Htpasswd::Backend 0.02

    Download button

    No screenshots available
    Downloads: 391  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Catalyst team | More programs
    Perl Artistic License / FREE
    October 12th, 2007, 04:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Catalyst::Plugin::Authentication::Store::Htpasswd::Backend description

    A htpasswd authentication storage backend.

    Catalyst::Plugin::Authentication::Store::Htpasswd::Backend is a htpasswd authentication storage backend.

    SYNOPSIS

    # you probably just want Store::Htpasswd under most cases,
    # but if you insist you can instantiate your own store:

    use Catalyst::Plugin::Authentication::Store::Htpasswd::Backend;

    use Catalyst qw/
    Authentication
    Authentication::Credential::Password
    /;

    my %users = (
    user => { password => "s3cr3t" },
    );

    our $users = Catalyst::Plugin::Authentication::Store::Htpasswd::Backend->new(%users);

    sub action : Local {
    my ( $self, $c ) = @_;

    $c->login( $users->get_user( $c->req->param("login") ),
    $c->req->param("password") );
    }


    METHOD

    new $hash_ref

    Constructs a new store object, which uses the supplied hash ref as it's backing structure.

    get_user $id

    Keys the hash by $id and returns the value.

    If the return value is unblessed it will be blessed as Catalyst::Plugin::Authentication::User::Hash.

    user_supports

    Chooses a random user from the hash and delegates to it.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Catalyst plugin | htpasswd authentication | Perl module | Catalyst | plugin | htpasswd

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM