Catalyst::Plugin::Authentication::Credential::PAM - Authenticate a user against PAM
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') ); }
This is an authentication credential checker that verifies passwords using a specified PAM service.
Try to log a user in.
Rafael Garcia-Suarez <rgarciasuarez@mandriva.com>
<rgarciasuarez@mandriva.com>
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.
To install Catalyst::Plugin::Authentication::Credential::PAM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Plugin::Authentication::Credential::PAM
CPAN shell
perl -MCPAN -e shell install Catalyst::Plugin::Authentication::Credential::PAM
For more information on module installation, please visit the detailed CPAN module installation guide.