hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebastiencaille <...@git.apache.org>
Subject [GitHub] httpclient issue #52: HTTPCLIENT-1748: fix for proxy authentication issue / ...
Date Tue, 28 Jun 2016 20:29:23 GMT
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message