Howdy,

I'm unable to figure out how to set NTLM as the preferred Proxy Auth Scheme
in 4.0.3. In 4.1.2, I can use the below code to achieve this:


DefaultHttpClient httpclient = new DefaultHttpClient(ccm, params);

// Choose NTLM for proxy authentication
List<String> authpref = new ArrayList<String>();
authpref.add(AuthPolicy.NTLM);
httpclient.getParams().setParameter(AuthPNames.PROXY_AUTH_PREF, authpref);


However, AuthPNames.PROXY_AUTH_PREF seems to be unavailable in 4.0.3, which
is the version I'm stuck with for some other reason. So, is there any way to
achieve the same in 4.0.3?


Thanks,

-kodeninja
-- 
View this message in context: 
http://old.nabble.com/How-to-set-NTLM-as-the-Preferred-Auth-Scheme-in-HttpClient-4.0.3-tp33543097p33543097.html
Sent from the HttpClient-User mailing list archive at Nabble.com.

Reply via email to