
Mozilla::Persona::Validate - validate the existence of the user

Mozilla::Persona::Validate is extended by Mozilla::Persona::Validate::Htpasswd Mozilla::Persona::Validate::IMAPTalk Mozilla::Persona::Validate::Table

# add to the configation of $domain.json
{ ...
"validate" : {
"class" : "Mozilla::Persona::Validate::Table"
...options for new()...
},
...
}

The validator object must ensure that the user/password combination is valid. Various approaches are possible, but only a few implemented. Please contribute.
Ideas/implementations for validators:
Maintained is a table of username/password combinations (passwords are always kept encrypted).
The Mail::IMAPTalk implementation is used to contact an IMAP4 server with the username/password. When login for that server is successful, then the user is valid, access is granted.
Use htaccess format files, which simplifies integration with websites.
(To be implemented) Use the more popular Mail::IMAPClient to validate.


This module is part of Mozilla-Persona distribution version 0.12, built on November 22, 2012. Website: http://perl.overmeer.net. The code is based on the MulkyID code by Matthias Benkard.
Persona is described at http://www.mozilla.org/persona/

Copyrights of the perl code and the related documentation by 2012 by [Mark Overmeer]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html