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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to