You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Ron Jacobs <Ro...@Reardencommerce.com> on 2011/03/11 18:47:51 UTC
AuthPNames.TARGET_AUTH_PREF and AuthPNames.PROXY_AUTH_PREF
I have ported from 3.0.2 and in the old code I had:
client.getParams().setParameter(AuthPolicy.AUTH_SCHEME_PRIORITY,
policyList);
To get the most similar behavior with the 4.1 API, do I set
AuthPNames.TARGET_AUTH_PREF, AuthPNames.PROXY_AUTH_PREF, or both?
client.getParams().setParameter(AuthPNames.TARGET_AUTH_PREF,
policyList);
client.getParams().setParameter(AuthPNames.PROXY_AUTH_PREF,
policyList);
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org
Re: AuthPNames.TARGET_AUTH_PREF and AuthPNames.PROXY_AUTH_PREF
Posted by Oleg Kalnichevski <ol...@apache.org>.
On Fri, 2011-03-11 at 17:47 +0000, Ron Jacobs wrote:
> I have ported from 3.0.2 and in the old code I had:
>
> client.getParams().setParameter(AuthPolicy.AUTH_SCHEME_PRIORITY,
> policyList);
>
> To get the most similar behavior with the 4.1 API, do I set
> AuthPNames.TARGET_AUTH_PREF, AuthPNames.PROXY_AUTH_PREF, or both?
>
> client.getParams().setParameter(AuthPNames.TARGET_AUTH_PREF,
> policyList);
> client.getParams().setParameter(AuthPNames.PROXY_AUTH_PREF,
> policyList);
>
Both.
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org