RE: Prompting user for authentication?

2003-10-01 Thread David . Hay
No problem. Thanks for doing that... David -Original Message- From: Roland Weber [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 2:24 AM To: Commons HttpClient Project Subject: RE: Prompting user for authentication? Hello David, I've taken the liberty to copy your

Re: Prompting user for authentication?

2003-10-01 Thread Roland Weber
bject: Re: Prompting user for authentication? Roland Weber wrote: > Hello David, > > I've taken the liberty to copy your mail as a comment to the bug: > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10794 > > to get the discussion starting. I want to add some

Re: Prompting user for authentication?

2003-10-01 Thread Ortwin Glück
Roland Weber wrote: Hello David, I've taken the liberty to copy your mail as a comment to the bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10794 to get the discussion starting. I want to add some comments of my own, and the discussion should be tracked with the bug. Please use the m

RE: Prompting user for authentication?

2003-10-01 Thread Roland Weber
EMAIL PROTECTED] 30.09.2003 17:31 Please respond to "Commons HttpClient Project" To: [EMAIL PROTECTED] cc: Subject: RE: Prompting user for authentication? Great! I'll look forward to that release then. (BTW, got a rough target date for release?)

RE: Prompting user for authentication?

2003-09-30 Thread David . Hay
Ok...thanks! -Original Message- From: Kalnichevski, Oleg [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2003 10:00 AM To: Commons HttpClient Project Subject: RE: Prompting user for authentication? David, Regarding release target dates, all I can do is to offer my guesstimates

RE: Prompting user for authentication?

2003-09-30 Thread Kalnichevski, Oleg
PROTECTED] Sent: Tuesday, September 30, 2003 17:32 To: [EMAIL PROTECTED] Subject: RE: Prompting user for authentication? Great! I'll look forward to that release then. (BTW, got a rough target date for release?) In the meantime, my current solution will work, as I don't *have* to su

RE: Prompting user for authentication?

2003-09-30 Thread David . Hay
Commons HttpClient Project Subject: RE: Prompting user for authentication? Steve, Integrated callbacks are planned for the next release (currently designated as 2.1) http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10794 Oleg -Original Message- From: Steve Vaughan [mailto:[EMAIL PRO

RE: Prompting user for authentication?

2003-09-30 Thread Kalnichevski, Oleg
: Tuesday, September 30, 2003 4:23 PM To: Commons HttpClient Project Subject: Re: Prompting user for authentication? Oleg, I was aware of the bug writeup, but hadn't noticed the target milestone. I see that the status is still "NEW", so I assume that work hasn't started.

Re: Prompting user for authentication?

2003-09-30 Thread Steve Vaughan
] > Sent: Tuesday, September 30, 2003 3:19 PM > To: Commons HttpClient Project > Subject: Re: Prompting user for authentication? > > > I disagree. It seems counter-intuitive to me that every application that > uses HttpClient should have to provide the same block of code to per

RE: Prompting user for authentication?

2003-09-30 Thread Kalnichevski, Oleg
Project Subject: Re: Prompting user for authentication? I disagree. It seems counter-intuitive to me that every application that uses HttpClient should have to provide the same block of code to perform a function as fundamental as authentication. HttpClient already handles most authentication, but

Re: Prompting user for authentication?

2003-09-30 Thread Steve Vaughan
I disagree. It seems counter-intuitive to me that every application that uses HttpClient should have to provide the same block of code to perform a function as fundamental as authentication. HttpClient already handles most authentication, but doesn't currently allow for any form of user intera

Re: Prompting user for authentication?

2003-09-30 Thread Adrian Sutton
On 30/09/2003 10:12 PM, "Steve Vaughan" <[EMAIL PROTECTED]> wrote: > One of our engineers developed a patch for HttpClient which allows a callback > handler to be registered with an HttpClient instance. A registered handler > could prompt the user for username/password. When a handler isn't > re

Re: Prompting user for authentication?

2003-09-30 Thread Steve Vaughan
One of our engineers developed a patch for HttpClient which allows a callback handler to be registered with an HttpClient instance. A registered handler could prompt the user for username/password. When a handler isn't registered, the HttpClient works as it does now. -Steve On Monday 29 Sept

Re: Prompting user for authentication?

2003-09-29 Thread Roland Weber
Hello David, on second thought, if you want some kind of automatic handling, you can try to substitute a different HttpMethodDirector (in 2.1). There's probably no public API for that yet, but it's the perfect place for such stuff. regards, Roland

Re: Prompting user for authentication?

2003-09-29 Thread Roland Weber
Hello David, we kind of tried the same approach with OpenCard. It wasn't funny and never really worked satisfactory. Don't do it in the Http Client. Instead of using a modified HttpState that interacts with the user, just disable automatic authentication. Then, the application will get the 401/40