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=8040>. 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=8040 need a way to set default credential in HttpState Summary: need a way to set default credential in HttpState Product: Commons Version: Nightly Builds Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: HttpClient AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Currently, each credential in HttpState is associated with a realm. This makes perfect sense from a httpclient developer. However, in reallife use, the user may not know the name of the realm and just vaguely know that the credential for such site is such. So I suggest a way to set the default credential in HttpState. When the code calls HttpState.getCredentials(realm), it first lookup if there is anything associated with that realm first. If not, it check to see if there is some default credential in HttpState. The simplest way to accomplish this is intepret credentials associated with null realm in setCredentials as the default credential. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
