[dev] Identity lib

Jan Schneider jan@horde.org
Thu, 25 Oct 2001 12:16:27 +0200


Zitat von Chuck Hagenbuch <chuck@horde.org>:

> Jan - the Identity library has some code in it (in setSignature(), at
> least)
> that relies on the $imp variable and $conf['hooks']['signature_hook']. This
> needs to go away. The hook can either move to Horde or go away, but code in
> Horde should _never_ rely on application specifics.

Ok, what I need from $imp is 'user', 'maildomain', 'namespace' and 'folders'. I 
can get 'user' from $__auth but where do I get the other information from?

The hooks probably have to go into horde.php.

Another way would be to only get the basic information out of the Identity 
class and recode it in imp if necessary (as it used to be) e.g. applying hooks 
or building full qualified mail address with 'maildomain'.

One thing I discovered when I took a quick look into the new Auth stuff: The 
credentials seem to be stored in the session unencrypted. This has to be fixed 
of course.

Jan.

:::::::::::::::::::::::::::::::::::::::: 
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::