SecurityContextHolder.setContext(new SecurityContextImpl(
new UsernamePasswordAuthenticationToken(user,null,user.getAuthorities())
));
SecurityContextHolder
最新推荐文章于 2024-04-22 18:16:39 发布
SecurityContextHolder.setContext(new SecurityContextImpl(
new UsernamePasswordAuthenticationToken(user,null,user.getAuthorities())
));