In this article, we’ll see how to use custom jackson annotations to mask sensitive data with asterisk.