I am using the commons http client with Axis. I wrote my own CredentialsProvider to provide credentials for the Axis client by interactively requesting them from the user. This works fine, but has a significant problem. When asked a second time for credentials, my provider does not know whether the previous credentials worked or not, and therefore does not know whether to prompt the user for new credentials, or return the previous ones. Because I don't control the HttpClient, I don't know if the previous credentials worked or not.

Is there any way of knowing if my previously provided credentials were valid or not? Can I implement some kind of factory so that I have access to the objects I need to know what is happening?

Thanks in advance.

Robert Wille

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to