[ingo] WG: Using IMP Auth in Ingo
Michael M Slusarz
slusarz at horde.org
Tue Oct 9 22:52:47 UTC 2012
Quoting Jonathan Westerholt <joniw at t-online.de>:
>> Re-reading through the thread... why are you not using an authentication
>> hook to set the ingo username? You shouldn't be directly altering
>> Factory/Transport.php.
>>
>> michael
>
> In Horde 4 i tried to use the authentication hook. But as said in
> http://bugs.horde.org/ticket/10448 Ingo uses the horde auth and has no own
> authentication. So the preauth hook for example is called but the username
> and password are not used. The only alternative could be the
> appauthenticated hook. But this is only called once on authentication, but
> on every call to ingo the transport is instantiated with the username and
> password from horde.
>
> I would use the hooks but I cannot see how to change the username and
> password for ingo from them.
So it does make sense to allow for a system to define transport
authentication credentials outside of the configuration file (due to
bootstrapping concerns). Therefore, in Ingo 3, I have just committed
code that adds a 'transport_auth' hook that replaces the old
'hordeauth', 'password', and 'username' parameters that used to be
contained in backends.php.
This should fix your personal issue.
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the ingo
mailing list