[Tickets #6746] Re: ical webdav and realms
bugs at horde.org
bugs at horde.org
Tue Jun 10 20:09:56 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/6746
-----------------------------------------------------------------------
Ticket | 6746
Updated By | adrieder at sbox.tugraz.at
Summary | ical webdav and realms
Queue | Kronolith
Version | HEAD
Type | Bug
State | Assigned
Priority | 1. Low
Milestone |
Patch |
Owners | Horde Developers
-----------------------------------------------------------------------
adrieder at sbox.tugraz.at (2008-06-10 16:09) wrote:
> I don't see how that works; without actually logging the user in,
> subsequent checks (inside the various api methods) should return
> empty for Auth::getAuth().
if you carefully follow the calls that are made (it took me some time :-)
you will be faster) when the authdriver is set to application - imp then
you will see that the imp api authenticate method will call
IMP_Session::createSession and there
$auth_imp->authenticate($_SESSION['imp']['uniquser'], array('password' =>
$password), true) will be called where the "login" parameter is set to
"true" so the user gets logged in.
But when you set the "login" parameter "true" also in the authenticate
call from webdav, this instance of Auth will then overwrite the auth
credentials set by $auth_imp.
ok, the fix might work only with the auth driver set to application + imp
but it works.
More information about the bugs
mailing list