NAME

Captive::Portal::Role::AuthenSimple - Authen::Simple adapter for Captive::Portal

DESCRIPTION

CaPo authentication is based on the pluggable Authen::Simple framework.

ROLES

$capo->build_authenticator()

Load the Authen::Simple Plugins as specified in config file and create the authenticator object. Die on error.

$capo->authenticate($username, $password)

Call the authenticator object with credentials. Returns true on success and false on failure.

SEE ALSO

Authen::Simple

AUTHOR

Karl Gaissmaier, <gaissmai at cpan.org>

LICENSE AND COPYRIGHT

Copyright 2010-2013 Karl Gaissmaier, all rights reserved.

This distribution is free software; you can redistribute it and/or modify it under the terms of either:

a) the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version, or

b) the Artistic License version 2.0.