Re: [Dev] WSS4JStaxInInterceptor SecurityEvent

2017-08-09 Thread Colm O hEigeartaigh
The StartBodyInterceptor might help: https://github.com/apache/cxf/blob/master/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/StartBodyInterceptor.java On Wed, Aug 9, 2017 at 4:18 PM, Isuranga Perera wrote: > I'm using CXF security policy

Re: [Dev] WSS4JStaxInInterceptor SecurityEvent

2017-08-09 Thread Isuranga Perera
I'm using CXF security policy enforcement without CXF transport. I convert the policy file to a Neethi object and used PolicyInInterceptor to get required interceptors to process the security header. I managed to verify security successfully with stream security enabled. But now I can't extract

Re: [Dev] WSS4JStaxInInterceptor SecurityEvent

2017-08-09 Thread Colm O hEigeartaigh
What exactly are you trying to do with the streaming security interceptors? Colm. On Tue, Aug 8, 2017 at 4:53 PM, Isuranga Perera wrote: > Hi Colm > > Thanks for the immediate response. I managed to add stream security > interceptors and process security headers. But

Re: [Dev] WSS4JStaxInInterceptor SecurityEvent

2017-08-08 Thread Isuranga Perera
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