[dev] Re: [cvs] commit: jeta/config conf.xml jeta/docs CHANGES jeta/templates main.inc

Chuck Hagenbuch chuck at horde.org
Mon Sep 15 08:17:05 PDT 2003


Quoting Max Kalika <max+lists.horde.dev at lsit.ucsb.edu>:

> We should definitely add hook support anywhere a username is used for
> external services.  However for simple cases where we want to determine
> whether to use the getAuth or getBareAuth, a whole hook function seems
> overkill.  The way SAM handles it gives us both things.  Would it make
> sense to move that to Horde::?  Something like:
>
> Horde::mapUser($app = 'horde', $auth = 'full')
>
> This thing would initialize a $username to either getAuth() or
> getBareAuth() depending on $auth. Then it would run the _$app_username_hook
> if one is available.  Ingo, sam, and jeta can use this right off the bat.
> Others too prolly?

Why put it in Horde::? Something in Auth:: might make sense.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
Born right the first time.


More information about the dev mailing list