springboot解决fastJson反序列化漏洞
1.fastJson版本升级为>1.2.66
**RedisSerializer实现类添加**
//解决fastJson反序列化漏洞,关闭autoType
static {
ParserConfig.getGlobalInstance().setAutoTypeSupport(false);
ParserConfig.getGlobalInstance().addAccept("com.xxx.xxxx.LoginUser");
}