[dev] horde auth - password

Chuck Hagenbuch chuck@horde.org
Thu, 31 May 2001 13:51:12 -0400


Quoting Gaudenz Steinlin <gaudenz.steinlin@id.unibe.ch>:

> I have a question about horde auth. As I can see, there is only 
> a function (getAuth) to retrive the authenticated username. But 
> there is no function to get the password of this user. 
> i am building a module for changing password, setting email-
> forwards an so on. I am using IMAP-authentication of horde auth.
> But to put the forward on to the server (per ftp) I need to know
> the password. 
> Is it possible to add some code to the horde auth system which 
> stores the password in the session or is this against your 
> design? Do you suggest using horde auth or should I better 
> implement my own authentication like IMP and Gollem do it?

The Credentials system that I just described would handle it for the email-
forward case. Password changing apps should ask for the old password anyway, to 
be sure.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Black and white and grey, all the shades of truth.