You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by bu...@apache.org on 2003/04/01 00:54:07 UTC

DO NOT REPLY [Bug 18355] - HttpState cannot differentiate credentials for different hosts with same Realm names

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18355

HttpState cannot differentiate credentials for different hosts with same Realm names





------- Additional Comments From adrian@ephox.com  2003-03-31 22:54 -------
Oleg,
I've moved the code I have over to the latest HttpClient and from memory it matches the search pattern you've outlined below.  It doesn't consider host.domain.com to be the same as .domain.com and I generally feel that doing so would be too much overhead for little gain.  We could add this functionality easily enough in the future if requested anyway without breaking compatibility (semantic compatibility would be maintained by only matching domains with the . in front so it wouldn't match by accident).

Unfortunately, the code is at home and I'm at work so I won't be able to post it until tonight.  The code is simple anyway so feel free to go ahead and just use what you have or write your own in the mean time anyway.  Generally though it may be better if you focus on the more technical issues where your level of knowledge of HttpClient is required.