You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Ralf Hauser (JIRA)" <ji...@apache.org> on 2009/02/27 07:36:01 UTC

[jira] Created: (HTTPCLIENT-831) document how to use httpClient to proxy a http basic auth

document how to use httpClient to proxy a http basic auth
---------------------------------------------------------

                 Key: HTTPCLIENT-831
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-831
             Project: HttpComponents HttpClient
          Issue Type: Improvement
          Components: HttpClient
    Affects Versions: 3.1 Final
         Environment: debian stable, jdk1.5
            Reporter: Ralf Hauser


http://hc.apache.org/httpclient-3.x/authentication.html describes many aspects of authentication.

We use httpClient to write a proxy and it simply writes back to the javax.servlet.http.HttpServletResponse whatever the httpClient GetMethod sees.
Works fine for a static web-site.
However, when the proxy (httpClient GetMethod) hits a page of the remote server that requires http basic auth, the response GetMethod copied to the javax.servlet.http.HttpServletResponse will not trigger a http basic auth request in my firefox that the proxy could pass through.

see also http://issues.apache.org/jira/browse/HTTPCLIENT-524



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (HTTPCLIENT-831) document how to use httpClient to proxy a http basic auth

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCLIENT-831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski updated HTTPCLIENT-831:
-----------------------------------------

    Fix Version/s: Future

Ralf,

Let's face it, if you do not contribute such documentation, no one else will.

Oleg

> document how to use httpClient to proxy a http basic auth
> ---------------------------------------------------------
>
>                 Key: HTTPCLIENT-831
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-831
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpClient
>    Affects Versions: 3.1 Final
>         Environment: debian stable, jdk1.5
>            Reporter: Ralf Hauser
>             Fix For: Future
>
>
> http://hc.apache.org/httpclient-3.x/authentication.html describes many aspects of authentication.
> We use httpClient to write a proxy and it simply writes back to the javax.servlet.http.HttpServletResponse whatever the httpClient GetMethod sees.
> Works fine for a static web-site.
> However, when the proxy (httpClient GetMethod) hits a page of the remote server that requires http basic auth, the response GetMethod copied to the javax.servlet.http.HttpServletResponse will not trigger a http basic auth request in my firefox that the proxy could pass through.
> see also http://issues.apache.org/jira/browse/HTTPCLIENT-524

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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