Rafaël Garcia-Suarez > Catalyst-Plugin-Authentication-Credential-PAM > Catalyst::Plugin::Authentication::Credential::PAM

Download:
Catalyst-Plugin-Authentication-Credential-PAM-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

Catalyst::Plugin::Authentication::Credential::PAM - Authenticate a user against PAM

SYNOPSIS ^

    use Catalyst qw(
        Authentication
        Authentication::Store::Foo
        Authentication::Credential::PAM
    );
    
    package MyApp::Controller::Auth;
    
    # default is 'login'
    __PACKAGE__->config->{authentication}{pam}{service} = 'su';
    
    sub login : Local {
        my ( $self, $c ) = @_;
        $c->login( $c->req->param('username'), $c->req->param('password') );
    }

DESCRIPTION ^

This is an authentication credential checker that verifies passwords using a specified PAM service.

METHODS ^

login($username, $password)

Try to log a user in.

AUTHOR ^

Rafael Garcia-Suarez <rgarciasuarez@mandriva.com>

LICENSE ^

Copyright (c) 2006 Mandriva SA.

This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: