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 2005/11/09 09:57:08 UTC

DO NOT REPLY [Bug 37413] - Provide feedback mechanism to CredentialsProvider

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=37413>.
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=37413


olegk@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |
            Summary|Endless loop in             |Provide feedback mechanism
                   |HttpMethodDirector if       |to CredentialsProvider
                   |credentials are invalid     |
   Target Milestone|---                         |4.0




------- Additional Comments From olegk@apache.org  2005-11-09 09:57 -------
(In reply to comment #2)
> > It is a responsibility of the custom credentials provider to keep
> > track of authentication attempts and to ensure that credentials
> > known to be invalid are not retried.
> 
> Will invalid credentials be indicated to the credentials provider?
> The interface was introduced to implement user dialogs, but it seems
> to be used for non-interactive credential stores on a regular basis.
> Of course we won't change the 3.0 API, but we should keep that in
> mind for 4.0, or maybe even 3.1.
> 
> /** Indicates that credentials have been rejected by a host or proxy. */
> public void invalidCredentials(AuthScheme, String host, int port,
>                                boolean proxy, Credentials)
> 
> cheers,
>   Roland


Roland, 
This issue highlights the problem that we kept on adding features to HttpClient
at the expense of API quality. We need to take a hard look at the whole
HttpState / Credentials story in the course of 4.0 API redesign. 

Oleg

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org