hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Carniel (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1303) Provide a convenient way to
Date Thu, 24 Jan 2013 10:39:12 GMT
Denis Carniel created HTTPCLIENT-1303:
-----------------------------------------

             Summary: Provide a convenient way to 
                 Key: HTTPCLIENT-1303
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1303
             Project: HttpComponents HttpClient
          Issue Type: Improvement
          Components: HttpClient
    Affects Versions: 4.2.3
            Reporter: Denis Carniel


The HttpClient provides an implementation (SystemDefaultHttpClient) which can retrieve proxy
information using the ProxySelector class which is a very convenient way to handle proxies
in a consistent manner throughout an application.

Though this implementation does not seem to support retrieving proxy credentials from the
java.net.Authenticator class. As a result I don't seem to find a way to use the SystemDefaultHttpClient
with my ProxySelector and pass credentials for the connection (I would need to know the host
and port to define the scope and those are returned by my ProxySelector).

Supporting the java.net.Authenticator as credentials source for the proxy connection would
be a nice addition, alternatively providing credentials for proxy connection in general would
be sufficient (e.g. having a AuthScope.PROXY constant).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message