cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Richard (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6551) Digest authentication to intermediate HTTP proxy fails with 407 without retry
Date Wed, 19 Aug 2015 16:31:45 GMT

    [ https://issues.apache.org/jira/browse/CXF-6551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14703288#comment-14703288
] 

James Richard commented on CXF-6551:
------------------------------------

In the method processRetransmit() it should check for a 407 error and then run a method like
proxyAuthorizationRetransmit(), in which it should create the correct Header for the Digest
authentication using the correct authSupplier

> 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
>            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)

Mime
View raw message