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


Catalyst-Plugin-Authentication-Credential-PAM documentation  | view source Contained in the Catalyst-Plugin-Authentication-Credential-PAM distribution.

Index


NAME

Top

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

SYNOPSIS

Top

    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

Top

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

METHODS

Top

login($username, $password)

Try to log a user in.

AUTHOR

Top

Rafael Garcia-Suarez <rgarciasuarez@mandriva.com>

LICENSE

Top

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.


Catalyst-Plugin-Authentication-Credential-PAM documentation  | view source Contained in the Catalyst-Plugin-Authentication-Credential-PAM distribution.