[dev] How to make authentication with Horde_Http_Client?

Mathieu Parent math.parent at gmail.com
Mon Sep 28 13:44:35 UTC 2009


Hi,

I'm currently implementing fetching of free/busy state from Microsoft
Exchange servers using "Outlook Web Access" (see
https://issues.kolab.org/issue3870).

Most of Exchange servers provide free/busy without authentication, but
sometime they request one. With the following schemes:
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
WWW-Authenticate: Basic realm="toto"

What is the recommended way of handling authentication (Horde being an
HTTP client )?

A pear package implements Basic and digest schemes:
http://pear.php.net/manual/en/package.http.http-request2.request.php#package.http.http-request2.request.auth

Thanks

Mathieu


More information about the dev mailing list