hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29439] - Credentials ignored if realm specified in preemptive authentication
Date Wed, 09 Jun 2004 12:40:43 GMT
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 adrian@ephox.com  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: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Mime
View raw message