Github user sebastiencaille commented on the issue:

    https://github.com/apache/httpclient/pull/52
  
    When the java application is run in an applet environment  (and webstart, 
possibly), The Authenticator delegates the call to a 
com.sun.deploy.security.DeployAuthenticator . The DeployAuthenticator only 
works when the url parameter of requestPasswordAuthentication is the url I want 
to connect to (eg http://www.whatever.com - the jdk provides the full url, it 
works with the authority part), it does NOT work if the url parameter is the 
proxy url (http://myproxy:3128) - I guess the authentication is delegated to 
the browser, which needs this information for security reasons (maybe to 
prevent cross domain calls). Since the AuthScope only contains information 
about the proxy, the information needed to call requestPasswordAuthentication 
the "right" way is currently not available...



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to