RE: Logging clear-text message

2014-05-15 Thread Andrei Shakirin
@cxf.apache.org Subject: Re: Logging clear-text message Thank you Daniel and Andrei. Here is new interceptor I just wrote for outgoing messages: import org.apache.cxf.interceptor.Fault; import org.apache.cxf.message.Message; import org.apache.cxf.phase.AbstractPhaseInterceptor; import

RE: Logging clear-text message

2014-05-14 Thread Andrei Shakirin
answer. Regards, Andrei. -Original Message- From: Daniel Kulp [mailto:dk...@apache.org] Sent: Dienstag, 13. Mai 2014 17:01 To: users@cxf.apache.org; Giriraj Bhojak Subject: Re: Logging clear-text message The Logging interceptors run at a byte stream level and only would see

Re: Logging clear-text message

2014-05-14 Thread Daniel Kulp
I think you would just need to move the phase to a later phase. Likely in the Phase.USER_PROTOCOL phase. Dan On May 13, 2014, at 12:07 PM, Giriraj Bhojak girira...@gmail.com wrote: Thank you Daniel and Andrei. Here is new interceptor I just wrote for outgoing messages: import

RE: Logging clear-text message

2014-05-13 Thread Andrei Shakirin
2014 00:06 To: users@cxf.apache.org Subject: Logging clear-text message Hi, I am using cxf (2.7.8 )with wss4j(1.6.13). For the sake of debugging I need to see the outgoing messages. I have added cxf:inInterceptors and cxf:outInterceptors in the spring config. This helps me see the signed

Re: Logging clear-text message

2014-05-13 Thread Daniel Kulp
The Logging interceptors run at a byte stream level and only would see the “secured” message. To log the unsecured message, you would need to write a different interceptor to handle that. Unfortunately, its also going to be different for CXF 2.7.x and CXF 3.x due to changes in the security

Re: Logging clear-text message

2014-05-13 Thread Giriraj Bhojak
Thank you Daniel and Andrei. Here is new interceptor I just wrote for outgoing messages: import org.apache.cxf.interceptor.Fault; import org.apache.cxf.message.Message; import org.apache.cxf.phase.AbstractPhaseInterceptor; import org.apache.cxf.phase.Phase; import org.w3c.dom.Document; public

Re: Logging clear-text message

2014-05-13 Thread Colm O hEigeartaigh
If you set logging to DEBUG you can see what WSS4J decrypts on the receiving side. Colm. On Mon, May 12, 2014 at 11:05 PM, Giriraj Bhojak girira...@gmail.comwrote: Hi, I am using cxf (2.7.8 )with wss4j(1.6.13). For the sake of debugging I need to see the outgoing messages. I have added

Logging clear-text message

2014-05-12 Thread Giriraj Bhojak
Hi, I am using cxf (2.7.8 )with wss4j(1.6.13). For the sake of debugging I need to see the outgoing messages. I have added cxf:inInterceptors and cxf:outInterceptors in the spring config. This helps me see the signed and encrypted message. Is there a way to see the clear-text version of the