cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Karlovic <steve.karlo...@gmail.com>
Subject Re: Masking Payload Data in Logs for RESTful Services
Date Wed, 26 Oct 2011 22:08:35 GMT
Sounds good. Thanks again Dan!

On Wed, Oct 26, 2011 at 2:49 PM, Daniel Kulp <dkulp@apache.org> wrote:

> 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 <dkulp@apache.org> 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
> > > dkulp@apache.org
> > > http://dankulp.com/blog
> > > Talend - http://www.talend.com
> --
> Daniel Kulp
> dkulp@apache.org
> http://dankulp.com/blog
> Talend - http://www.talend.com
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message