[prev in list] [next in list] [prev in thread] [next in thread] 

List:       httpclient-commons-dev
Subject:    Re: HttpClient problems
From:       Ortwin_Glück <ortwin.glueck () nose ! ch>
Date:       2004-05-28 7:52:42
Message-ID: 40B6EFCA.4000503 () nose ! ch
[Download RAW message or body]



paul wrote:

> Ortwin,
> 
> About 1, I have added the changes.
> 
> 2, I need to add some id, pwd into the authentication logic, does 
> httpclient api allow for setting this details?

I don't think there is anything special. You can just create a 
UsernamePasswordCredentials object and add with the HttpState 
#setCredentials method. You might want to set an individual HttpState 
object per execute call as well. You should enable preemtive 
authentication as well. If you do that, set the realm to null in the 
setCredentials method. See API doc for details, and bug 29062 for not 
yet documented stuff : 
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=29062

> 3, Point noted, I will add that in.

I suggest you set up a test system, and run some massive multithreading 
tests against it to reproduce the problem reliably. So you can tell when 
you have fixed the problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic