NAME

Nitesi::Account:Provider::DBI - DBI Account Provider for Nitesi Shop Machine

METHODS

init

Initializer for this class. No arguments.

login

Check parameters username and password for correct authentication.

Returns hash reference with the following values in case of success:

uid

User identifier

username

Username

roles

List of roles for this user.

permissions

List of permissions for this user.

roles

Returns list of roles for supplied user identifier.

permissions

Returns list of permissions for supplied user identifier and array reference with roles.

AUTHOR

Stefan Hornburg (Racke), <racke@linuxia.de>

LICENSE AND COPYRIGHT

Copyright 2011 Stefan Hornburg (Racke) <racke@linuxia.de>.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.