Hi Colm

Thanks for the immediate response. I managed to add stream security
interceptors and process security headers. But I found out that they change
message.getContent(StreamReader.class). So can you suggest a way to extract
SOAPBody from the content?

Best Regards

On Tue, Aug 8, 2017 at 7:52 PM, Colm O hEigeartaigh <cohei...@apache.org>
wrote:

> It's not something that you should need to configure. It's used by the
> streaming WS-Security code inside WSS4J to retrieve security "events" from
> either inbound or outbound processing. For example, on an inbound request
> you might decrypt a key which you might then need to use to secure the
> message reply.
>
> Colm.
>
> On Tue, Aug 8, 2017 at 10:51 AM, Isuranga Perera <
> isurangamper...@gmail.com>
> wrote:
>
> > Hi
> >
> > I'm using CXF security processing with stream security. There I was able
> > to find
> >
> > List<SecurityEvent> requestSecurityEvents =
> >                 (List<SecurityEvent>) soapMessage.getExchange().get(
> SecurityEvent.class.getName()
> > + ".out");
> >
> >
> > Appreciate if you can explain how to set this SecurityEvent extension
> > manually and the purpose of it.
> >
> > Best Regards
> >
>
>
>
> --
> Colm O hEigeartaigh
>
> Talend Community Coder
> http://coders.talend.com
>

Reply via email to