Authen::PAAS::LoginModule - a pluggable authentication module
use Authen::PAAS::LoginModule; my $result = $module->login($subject, \%callbacks);
This module provides the API for authenticating a subject for the purposes of session login. It will be subclassed to provide the implementations of different authentication schemes.
This module expects one custom configuration option with the key passwd to refer to the username, password mapping file.
passwd
Attempt to authenticate the subject against the simple username and password configuration file. This module expects two callbacks, one with the key username, and the other with the key password.
username
password
Attempt to logout a subject, by removing any principals anc credentials added during the login method. This method must be implemented by subclasses.
login
Daniel Berrange <dan@berrange.com>
Copyright (C) 2004-2006 Daniel Berrange
Authen::PAAS::LoginModule, Authen::PAAS::Context, Authen::PAAS::Subject, Authen::PAAS::Callback.
To install Authen::PAAS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Authen::PAAS
CPAN shell
perl -MCPAN -e shell install Authen::PAAS
For more information on module installation, please visit the detailed CPAN module installation guide.