On Wednesday, October 26, 2011 2:42:33 PM Steve Karlovic wrote: > Will do. > > Would that still be the best approach for 2.3+ as well?
For pure Apache CXF, yea. The method is still there and would likely be the best option. The System Activity Monitoring stuff in Talend's ESB provides other options, but if using pure Apache CXF, then it would continue to be the easiest option. The most "light weight" option as well. Dan > > Thanks, > Steve > > On Wed, Oct 26, 2011 at 2:19 PM, Daniel Kulp <[email protected]> wrote: > > On Wednesday, October 26, 2011 1:31:53 PM Steve Karlovic wrote: > > > Hi, > > > I am currently logging inbound and outbound messages (with the > > > LoggingInInterceptor and LoggingOutInterceptor) using CXF 2.2.12 > > > (JAX-RS only) and I would like to mask sensitive data before it's > > > written to a file. Upgrading is not an option at the moment. We are > > > supporting> > > multiple > > > > > media types and it's possible there could be multiple data elements > > > I > > > > would > > > > > need to mask. Does anyone have any best practices or successful > > > > approaches > > > > > they are willing to share in order to achieve this? > > > > The best bet is to just subclass the Logging interceptors and override > > the "transform" method to mask out anything you need to mask out. > > Configure in your subclasses in stead. > > > > > > -- > > Daniel Kulp > > [email protected] > > http://dankulp.com/blog > > Talend - http://www.talend.com -- Daniel Kulp [email protected] http://dankulp.com/blog Talend - http://www.talend.com
