DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29439>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29439

Credentials ignored if realm specified in preemptive authentication





------- Additional Comments From [EMAIL PROTECTED]  2004-06-09 12:40 -------
Throwing an exception in the case that preemptive authentication is set but no default 
credentials are 
supplied would seriously break our application and I would imagine a number of others. 
 If you use 
HttpClient to connect to user defined hosts and provide a mechanism whereby the user 
(or system 
administrator) can specify login details (in our case through a configuration file) 
you should:

1. Enable preemptive authentication so that it works whenever the credentials are 
available.
2. Register whatever set of predefined credentials you are given.

The most common case for us is that preemptive authentication is enabled but no 
credentials are 
registered with HttpClient.  A warning message is fine but an exception is definitely 
not a good thing.

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

Reply via email to