paint-brush
Avoid security loopholes using @JsonViewby@paruldhingra
154 reads

Avoid security loopholes using @JsonView

by Parul Dhingra1mOctober 17th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Use @JsonView to limit or control fields display for different users. Don't expose more than you think needs exposing. Avoid security loopholes using @JonView. Use the same annotations to annotate the fields you want to receive when updating. For example, in userForm, annotate with userForm(UpdateUser.class) the fields. The same annotations are used in the handler, as below:.glygly.glyphobe.globe-globe: Glyphobe@ paruldhingra Software Enginner.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Avoid security loopholes using @JsonView
Parul Dhingra HackerNoon profile picture
Parul Dhingra

Parul Dhingra

@paruldhingra

Software Enginner | Blogger | A brain ambidextrous geek | Machine Learning Enthusiasts

Learn More
LEARN MORE ABOUT @PARULDHINGRA'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Parul Dhingra HackerNoon profile picture
Parul Dhingra@paruldhingra
Software Enginner | Blogger | A brain ambidextrous geek | Machine Learning Enthusiasts

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Crunchbase