cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Talkov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-6574) Issue with Digest Authentication
Date Tue, 17 Nov 2015 19:07:11 GMT

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

Roger Talkov updated CXF-6574:
------------------------------
    Attachment: DigestAuthSupplier.java

Hi Sergey,

I still get the error with CXF 3.1.3 because there are 2 calls to di.generateAuth (), only
the first one is using the suggested authURI, the second still uses di.generateAuth(currentURI.getPath(),
I have attached revised source code for a future release

Thanks,

Roger


>  Issue with Digest Authentication
> ---------------------------------
>
>                 Key: CXF-6574
>                 URL: https://issues.apache.org/jira/browse/CXF-6574
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.1.2
>            Reporter: George del Busto
>            Assignee: Sergey Beryozkin
>            Priority: Minor
>             Fix For: 3.1.3, 2.7.18, 3.0.7
>
>         Attachments: DigestAuthSupplier.java
>
>
> When retrieving a WSDL that is behind  digest authentication.
> Part of the digest algorithm uses the URL and expects it to be the full URL including
any query parameters. 
> So when there is a URL like  http://myhost/myservice?wsdl it should be using the whole
URL, but it  is only using http://myhost/myservice which creates an incorrect  digest token
and fails the authentication.
>  In the DigestAuthSupplier the method generateAuth takes the URL/URI as 
>  a parameter. Currently it is called like:
>  di.generateAuth(currentURI.getPath(), ...
> I'll leave the 'correct' fix up to the experts, but when it's called with something like
 di.generateAuth(currentURI.getFile(),...
> it works because it includes the query parameters as well.
> Thank you



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

Mime
View raw message