[ 
https://issues.apache.org/jira/browse/CXF-6551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Richard updated CXF-6551:
-------------------------------
    Affects Version/s: 3.1.0

> Digest authentication to intermediate HTTP proxy fails with 407 without retry
> -----------------------------------------------------------------------------
>
>                 Key: CXF-6551
>                 URL: https://issues.apache.org/jira/browse/CXF-6551
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.7.6, 2.7.8, 2.7.14, 3.1.0
>            Reporter: James Richard
>
> When attempting to connect to a server through an HTTP proxy that requires 
> Digest authentication, the proxy sends back a 407 error. The client should 
> then use the information sent back along with the 407 to create the correct 
> Digest Header and try the request again but it doesn't.  
> Instead the HTTPConduit attempts one request and then goes into the 
> handleResponseInternal() method where it checks the response code
> {code} if (responseCode >= 400 && responseCode != 500 && !noExceptions) {code}
> and throws an HTTPException instead of finishing the Digest transaction.  
> In the processRetransmit() method it check for a 401 error and then attempts 
> the authorizationRetransmit() BUT it does not handle the 407 error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to