[dev] How to make authentication with Horde_Http_Client?

Chuck Hagenbuch chuck at horde.org
Tue Sep 29 16:55:55 UTC 2009


Quoting Mathieu Parent <math.parent at gmail.com>:

> 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

I can and should add better auth support to Horde_Http_Client, but  
neither basic or digest support are going to help you with NTLM.

Ah, I guess those headers mean that it'll take Basic also? I can add  
that pretty quickly.

-chuck


More information about the dev mailing list