[Tickets #10980] Re: Create the possibility of two alternative authentication modules
bugs at horde.org
bugs at horde.org
Sat Feb 11 20:41:50 UTC 2012
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/10980
------------------------------------------------------------------------------
Ticket | 10980
Updated By | alexandra.simon at hotmail.com
Summary | Create the possibility of two alternative
| authentication modules
Queue | Horde Framework Packages
Version | Git master
Type | Enhancement
State | New
Priority | 2. Medium
Milestone |
Patch | 1
Owners |
------------------------------------------------------------------------------
c.denis at mrduck.fr (2012-02-11 11:55) wrote:
Dear Dev-Team,
if the format of my request/patch does not comply, please be patient
with someone new to it. I will be happy to correct any mistakes
pointed out.
This is a stacking auth module (cf. Horde_Auth_Composite), which
allows to use two authentication modules. The main usecase is to
either validate the pwd against two different backends, or to validate
against at least one backend. (patch attached)
This is to facilitate the integration of a one-time-password scheme
under development. The user would choose which password to enter
(permanent vs. otp) and it could be processed.
An example configuration usecase would look like this:
$conf['auth']['driver'] = 'composite';
$conf['auth']['params']['admin_driver']['driver'] = 'sql';
$conf['auth']['params']['auth_driver']['driver'] = 'dual';
$conf['auth']['params']['auth_driver']['params']['single_validation'] = true;
$conf['auth']['params']['auth_driver']['params']['auth1_driver']['driver'] =
'sql';
$conf['auth']['params']['auth_driver']['params']['auth2_driver']['driver'] =
'one-time-password-mechanism'
Any feedback on implementations and/or enhancements very appreciated.
Best regards,
Carl
PS: Priority is medium, as I would like to build other features on top
of this one. Please correct it, if it is too high.
c.denis at mrduck.fr (2012-02-11 11:55) uploaded: 0001-dual-auth-module.patch
http://bugs.horde.org/h/services/download/?module=whups&actionID=download_file&file=0001-dual-auth-module.patch&ticket=10980&fn=%2F0001-dual-auth-module.patch
More information about the bugs
mailing list