cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: providing basic auth via wadl2java?
Date Fri, 01 Sep 2017 16:22:37 GMT
I've created this issue:

https://issues.apache.org/jira/browse/CXF-7492

but will likely have no time to complete it early next week,

but at least it will be tracked

Cheers, Sergey
On 25/08/17 15:14, Sergey Beryozkin wrote:
> I see, makes sense to add a new switch
> 
> Sergey
> On 25/08/17 14:52, Shan Syed wrote:
>> I don't have explicit access to the header via the command line 
>> wadl2java,
>> nor the maven plugin
>>
>>
>>
>> On Fri, Aug 25, 2017 at 6:24 AM, Sergey Beryozkin <sberyozkin@gmail.com>
>> wrote:
>>
>>> Hi
>>>
>>> Why can't they be sent as the header ? Otherwise I guess one needs to
>>> configure the HTTP container somehow for the name and password be 
>>> extracted
>>> out of URI and matched against the BasicAuth module...
>>>
>>> Sergey
>>>
>>> On 25/08/17 01:10, Shan Syed wrote:
>>>
>>>> Hey there,
>>>>
>>>> I need to generate client code for a WADL, hosted on a remote server I
>>>> don't control.
>>>> The WADL has very deep includes, that reference other xml files 
>>>> hosted on
>>>> the same server.
>>>> Downloading them all isn't practical, because it's a very deep 
>>>> hierarchy.
>>>>
>>>> The WADL is also served off of a webserver that asserts basic auth.
>>>>
>>>> I'm trying both the cxf wadl2java download, and the maven plugin; 
>>>> neither
>>>> seem to work when I provide basic auth details like this:
>>>>
>>>> https://whateverusernamer:somepassword@whatever.com?wadl
>>>>
>>>> A 401 error is returned, and the basic auth parameters aren't sent 
>>>> to the
>>>> server this way.
>>>>
>>>> Is there a way to specify user/password for basic auth on a remote 
>>>> WADL?
>>>>
>>>> Thanks
>>>>
>>>>
>>


-- 
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Mime
View raw message