[imp] XML-RPC woes

Jan Schneider jan at horde.org
Thu Jun 29 11:41:35 PDT 2006


Zitat von MIlos Prudek <prudek at bvx.cz>:

>> > WWW-Authenticate: Basic realm="Horde RPC"
>>
>> The rpc interface requires HTTP basic authentication.
>
> In order to call IMP's authenticate (so that a user logs into Horde), I have
> to authenticate the same user first, via HTTP basic authentication? Sounds
> like Catch 22.

Not necessarily, only if you setup SSO for Horde and IMP. But even  
then, you could simply use the basic authentication to test the user  
credentials, with any RPC call.

> Should I append HTTP basic authorization data to my call to IMP's   
> authenticate
> method? Should I really send the user id and password twice, once in HTTP
> basic auth, once in XML-packed format?

See above.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the imp mailing list