Hi Oleg,

Do you think this is a bug? I am expecting that even if authentication
fails, it should not enter into an infinite loop. I read the mailing list
archive about some fixes in previous releases on this issue. Is it possible
that the problem crept back?

Thanks,
Jeff

On 10/31/06, Jeff Ling <[EMAIL PROTECTED]> wrote:

Hi Oleg,

This is what I used when I observed the behavior. I didn't use any custom
provider. Do you see anything wrong with this code?

HttpState httpState = new HttpState();
      httpState.setAuthenticationPreemptive (false);
      HttpClient client = new HttpClient();
      httpState.setCredentials(new AuthScope(context.getHost(),
context.getPort(),
        AuthScope.ANY_REALM, AuthScope.ANY_SCHEME), creds);
      client.setState(httpState);


Thanks,
Jeff




--
Jeff Ling
Product Solutions Engineer
GOOGLE
Office: (650) 253-3095
Fax: (650) 618-1835
Email: [EMAIL PROTECTED]

Reply via email to