[gdal-dev] how to set proxy authentication method for WMS

Even Rouault even.rouault at mines-paris.org
Mon Jul 30 08:40:49 PDT 2012


Selon Livneh Yehiyam <yehil at rafael.co.il>:

>
> Hi
> Is it possible to set the proxy authentication method to NTLM using either
> the config options or the environment?
> I noticed that it is possible to set the proxy server and user:password, and
> also the http authentication method, but I couldn't find the proxy setting.
>
> The curl options that needs to be set is CURLOPT_PROXYAUTH

I don't see it used in the code. You can try experimenting, by adding at the end
of CPLHTTPInitializeRequest() in frmts/wms/gdalhttp.cpp (at line 146 in trunk)

curl_easy_setopt(psRequest->m_curl_handle,CURLOPT_PROXYAUTH,CURLAUTH_NTLM);

>
> Thanks
> Yehiyam Livneh
>
>
>
**********************************************************************************************
> This message (including any attachments) issued by RAFAEL- ADVANCED DEFENSE
> SYSTEMS LTD.
> (hereinafter "RAFAEL") contains confidential information intended for a
> specific individual and purpose, may
> constitute information that is privileged or confidential or otherwise
> protected from disclosure. If you are not
> the intended recipient, you should contact us immediately and thereafter
> delete this message from your
> system. You are hereby notified that any disclosure, copying, dissemination,
> distribution or forwarding of this
> message, or the taking of any action based on it, is strictly prohibited. If
> you have received this e-mail in error,
> please notify us immediately by e-mail mailto:lawraf at rafael.co.il and
> completely delete or destroy any and all
> electronic or other copies of the original message and any attachments
> thereof.
>
**********************************************************************************************








More information about the gdal-dev mailing list