摘要:
Fastjson的SerializerFeature序列化属性 QuoteFieldNames———-输出key时是否使用双引号,默认为true WriteMapNullValue——–是否输出值为null的字段,默认为false WriteNullNumberAsZero—-数值字段如果为null 阅读全文
摘要:
aaa 阅读全文
摘要:
配置了异常accessDeniedHandler被全局异常捕获了不生效 //配置异常处理器 //认证失败处理器 http.exceptionHandling() .authenticationEntryPoint(authenticationEntryPoint) //授权失败处理器 .access 阅读全文
摘要:
进行springSecurity和redis存储序列化,实现UserDetails 的方法后会对出几个属性 最后通过注解 @Bean public RedisTemplate<String, ?> redisTemplate(RedisConnectionFactory factory) { Str 阅读全文