Will do.

Would that still be the best approach for 2.3+ as well?

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
>

Reply via email to