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 <[email protected]>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

Reply via email to