On Thu, 2006-04-20 at 16:48 +0200, Thierry Sechao wrote:
> Oleg,
> 
> Thanks for your reply,
> 
> when I execute the test which works fine, that is I just change the ligne
> 
> hostConfiguration.setHost("myhost", 443, new Protocol("https", new 
> SSLProtocolSocketFactory(), 443));
> 
> by
> 
> hostConfiguration.setHost("myhost", 443);
> 
> I have some log (see below) which looks similar "Required credentials 
> not available for BASIC <any realm>@myhost:443 ...",  but it works!

BASIC <any realm>@myhost:443

This has nothing to do with proxy authentication.


> I notice that this time, the mode preemptive works too. the 
> Proxy-Authorization header is submitted at the first request whereas in 
> the failed test, it is never submitted.
> 
> I also try to set the REALM without success.
> 
> proxyClient.getState().setProxyCredentials(new AuthScope("myproxy", 
> 8080, "MYREALM"), userCredential) ;   
> 
> thanks again.
> 

Post the *complete* source code of your test app

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to