Just wondering if is it possible to ask mapper not to开发者_如何学Go serialize certain fields if user is in certain role. Meaning security config will control views.
Just add @JsonIgnore
on the hidden properties
Just wondering if is it possible to ask mapper not to开发者_如何学Go serialize certain fields if user is in certain role. Meaning security config will control views.
Just add @JsonIgnore
on the hidden properties
精彩评论