摘要:
配置了异常accessDeniedHandler被全局异常捕获了不生效 //配置异常处理器 //认证失败处理器 http.exceptionHandling() .authenticationEntryPoint(authenticationEntryPoint) //授权失败处理器 .access 阅读全文
posted @ 2022-09-29 14:27
Arborblog
阅读(329)
评论(0)
推荐(1)
摘要:
进行springSecurity和redis存储序列化,实现UserDetails 的方法后会对出几个属性 最后通过注解 @Bean public RedisTemplate<String, ?> redisTemplate(RedisConnectionFactory factory) { Str 阅读全文
posted @ 2022-09-29 11:28
Arborblog
阅读(1381)
评论(0)
推荐(0)

浙公网安备 33010602011771号