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
