You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Paul Avijit <pa...@yahoo.com> on 2014/04/22 04:04:03 UTC

WS-Security with UsernameToken + X.509

Hi,

I followed the tutorials "Using UsernameToken security with Apache CXF" and "Using X.509 security with Apache CXF ". I could test them successfully.

Now I want to secure my web service using both UsernameToken and X.509. The issue that I am facing is with the following two configurations:

<entry key="user" value="joe"/> - In Username Tutorial


<entry key="user" value="myclientkey"/> - In X.509 Tutorial


I have a situation where both these are different like in these tutorial. But how do I configure it.

Can anyone please help.

Regards
Paul

Re: WS-Security with UsernameToken + X.509

Posted by Colm O hEigeartaigh <co...@apache.org>.
Try using "signatureUser" for the "myclientkey" entry.

Colm.


On Tue, Apr 22, 2014 at 3:04 AM, Paul Avijit <pa...@yahoo.com> wrote:

> Hi,
>
> I followed the tutorials "Using UsernameToken security with Apache CXF"
> and "Using X.509 security with Apache CXF ". I could test them successfully.
>
> Now I want to secure my web service using both UsernameToken and X.509.
> The issue that I am facing is with the following two configurations:
>
> <entry key="user" value="joe"/> - In Username Tutorial
>
>
> <entry key="user" value="myclientkey"/> - In X.509 Tutorial
>
>
> I have a situation where both these are different like in these tutorial.
> But how do I configure it.
>
> Can anyone please help.
>
> Regards
> Paul
>



-- 
Colm O hEigeartaigh

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