[horde] Composite auth driver

Joaquim Homrighausen joho at webbplatsen.se
Mon Sep 13 13:58:35 PDT 2004


Quoting Chuck Hagenbuch <chuck at horde.org>:

Hmm.. OK; I guess that's what I want then. Any hints? :-)

Does Horde provide for functionality to this effect? Or would I have to try to
have a go at it. The situation is that I want to serve a few users with
"Groupware" functionality ála Horde/Imp/Kronolith/etc. But I also want to
allow another few users to access Whups. They do not have e-mail (on this
system), nor should they have access to anything else.

So, since I authenticate all mail users via Imp, I'd need to be able to check
some other authentication source also/first/last (probably first, since 
Courier
takes forever and nine days to return a login failure).

Does this driver get called with all the data entered by the user?

Could I, for example, check for some pattern in the username to 
determine which
driver to return? tickets_username, for example..


-Joaquim

>> So, how would I go about getting it to first do 'wps_sql' and then 
>> 'hordeapp'?

> That's not how the composite driver works. You'd need a different "stacked"
> driver to accomplish what you want. With the composite driver, you need some
> way of determining the backend you want to auth against by the domain name,
> browser, etc.




More information about the horde mailing list