You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Andrei Shakirin <as...@talend.com> on 2012/06/15 12:28:05 UTC

Propagation of Header element with signature

Hi,

I am working on the use case, where one WSP should propagate specified header element and corresponded signature from received message to another WSP call. Signature is located inside wsse:Security block with specific actor.

Question: I cannot find elegant method to do it via WSS4J. Is coping DOM elements only alternative?

Regards,
Andrei.

RE: Propagation of Header element with signature

Posted by Andrei Shakirin <as...@talend.com>.
Thanks for the hint Colm,

It helps me.

Andrei.

-----Original Message-----
From: Colm O hEigeartaigh [mailto:coheigea@apache.org] 
Sent: 18 June 2012 11:48
To: users@cxf.apache.org
Subject: Re: Propagation of Header element with signature

Hi Andrei,

I'm not aware of an "easy" way to do this. WSS4J has a utility method you can use in WSSecurityUtil.getSecurityHeader(Document doc, String actor) to find the security header for a given actor.

Colm.

On Fri, Jun 15, 2012 at 11:28 AM, Andrei Shakirin <as...@talend.com>wrote:

> Hi,
>
> I am working on the use case, where one WSP should propagate specified 
> header element and corresponded signature from received message to 
> another WSP call. Signature is located inside wsse:Security block with 
> specific actor.
>
> Question: I cannot find elegant method to do it via WSS4J. Is coping 
> DOM elements only alternative?
>
> Regards,
> Andrei.
>



--
Colm O hEigeartaigh

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

Re: Propagation of Header element with signature

Posted by Colm O hEigeartaigh <co...@apache.org>.
Hi Andrei,

I'm not aware of an "easy" way to do this. WSS4J has a utility method you
can use in WSSecurityUtil.getSecurityHeader(Document doc, String actor) to
find the security header for a given actor.

Colm.

On Fri, Jun 15, 2012 at 11:28 AM, Andrei Shakirin <as...@talend.com>wrote:

> Hi,
>
> I am working on the use case, where one WSP should propagate specified
> header element and corresponded signature from received message to another
> WSP call. Signature is located inside wsse:Security block with specific
> actor.
>
> Question: I cannot find elegant method to do it via WSS4J. Is coping DOM
> elements only alternative?
>
> Regards,
> Andrei.
>



-- 
Colm O hEigeartaigh

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