[horde] [imp] Setting up an authentication chain in Horde

Jan Schneider jan at horde.org
Fri May 16 09:19:15 UTC 2014


Zitat von SSRI <ssri_abo at u-paris2.fr>:

> Hello,
>
> Horde composite driver can't handle a specific driver for CalDAV,  
> WedDAV,  Free/Busy URL ... So, we have set up this test in  
> config/conf.local.php :
>
> if ( Horde_Cli::runningFromCLI() ||
>      preg_match('|^/horde/rpc.php|',$_SERVER['REQUEST_URI']) ||
>      preg_match('|^/horde/kronolith/fb.php|',$_SERVER['REQUEST_URI']) ||
> ...
>
>    ) {
>     $conf['auth']['driver'] = 'ldap';
> } else {
>
>     $conf['auth']['driver'] = 'custom_driver';
> }
>
> Is there a way for Horde to set up an authentication chain ( if the  
> ldap drivers fails, automatically fall back to custom_driver ) ?
>
> SSRI Team
> IT Services - Université Pantheon-Assas ( Paris 2 )

Please ask questions on the correct mailing list, this has nothing to  
do with IMP.

To your question: no, there is no such driver, but you can write one.  
You already have a custom authentication driver, so why don't you  
handle the fallback there?

-- 
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject



More information about the horde mailing list