阅读背景:

在Spring Data rest json Response中动态过滤实体字段

来源:互联网 

Hi I have a requirement to dynamically ignore entity fields in spring data rest response [I know they can be done in a static way by using @JsonIgnore annotation] ideally based on a spring security Role .The role part is still manageable but how to dynamically ignore fields in the json response is a challenge. After some analysis and the docs I think jackson is the way to go as spring data rest does provide jackson customization via jackson modules and mixins Hi I have a requirement to dynamically ignore e




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: