[dev] hook in the Auth class

Nuno Loureiro nuno at co.sapo.pt
Tue Sep 30 04:34:47 PDT 2003


It might be of some use to me too...
Pleae submit the patch to the list when ready...

On Sun, 2003-09-28 at 21:40, Etienne Goyer wrote:
> Hi list,
> 
> I am requesting comments on a feature I would like to implement.  I
> would like to add two hooks to the Auth class authenticate() function.
> I suggest calling them _authenticate_hook_pre and
> _authenticate_hook_post.  If either of these function return false,
> authentication fail.  There could be only one of these function, but two
> would be more flexible IMHO.
> 
> The reason I need these is that, although my users are authenticated
> thru IMP (IMAP), I would like to consult an LDAP directory for
> membership to a specific group before giving them access to Horde.  I
> suppose similar requirement to mine could also happen to other people.
> 
> If that feature seem interesting to maintainer, I would code and send a
> patch in the coming days.
> 
> Thanks !
> 
> -- 
> Etienne Goyer                    Linux Québec Technologies Inc.
> http://www.LinuxQuebec.com       etienne.goyer at linuxquebec.com
-- 
Nuno Loureiro <nuno at co.sapo.pt>
PTM.com - http://www.sapo.pt/
PGP fingerprint = 8A32 5174 E80C 2D40 9075 405E C107 6592 054A 4D05



More information about the dev mailing list