Daniel P. Berrangé > Authen-PAAS-1.1.1 > Authen::PAAS::LoginModule

Download:
Authen-PAAS-1.1.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 1.0.0   Source  

NAME ^

Authen::PAAS::LoginModule - a pluggable authentication module

SYNOPSIS ^

  use Authen::PAAS::LoginModule;

  my $result = $module->login($subject, \%callbacks);

DESCRIPTION ^

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.

CONFIGURATION ^

This module expects one custom configuration option with the key passwd to refer to the username, password mapping file.

METHODS ^

my $res = $module->login($subject, $callbacks);

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.

$module->logout($subject);

Attempt to logout a subject, by removing any principals anc credentials added during the login method. This method must be implemented by subclasses.

AUTHORS ^

Daniel Berrange <dan@berrange.com>

COPYRIGHT ^

Copyright (C) 2004-2006 Daniel Berrange

SEE ALSO ^

Authen::PAAS::LoginModule, Authen::PAAS::Context, Authen::PAAS::Subject, Authen::PAAS::Callback.

syntax highlighting: