Return-Path: Mailing-List: contact commons-httpclient-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-httpclient-dev@jakarta.apache.org Received: (qmail 4539 invoked from network); 31 Mar 2003 22:52:13 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 31 Mar 2003 22:52:13 -0000 Received: (qmail 9198 invoked by uid 50); 31 Mar 2003 22:54:07 -0000 Date: 31 Mar 2003 22:54:07 -0000 Message-ID: <20030331225407.9197.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: commons-httpclient-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 18355] - HttpState cannot differentiate credentials for different hosts with same Realm names X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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.