light-4j icon indicating copy to clipboard operation
light-4j copied to clipboard

Mask body in list or map format instead of string format

Open stevehu opened this issue 8 years ago • 2 comments

We have a mask module to mask sensitive data from header, query parameter, path parameter and body. It works with JSON object with JSON Path with configuration. With the introduction of Body module that parses body of application/json to list or map, we need to update the mask module to work with list and map. Regarding to traverse the list or map, here is an example. https://github.com/networknt/light-java/blob/master/sanitizer/src/main/java/com/networknt/sanitizer/SanitizerHandler.java

stevehu avatar Jan 12 '17 19:01 stevehu

I'll take this if @ddobrin busy, just because I'm reviewing this module

lanphan avatar Feb 22 '19 11:02 lanphan

I have assigned this to you as well.

Please send a PR after you make changes. Thank you

ddobrin avatar Feb 22 '19 14:02 ddobrin