摘要:
@RequestMapping("getUser") public void getUser(HttpServletRequest req){ String remoteUser=req.getRemoteUser(); Authentication auth=(Authentication) re 阅读全文
posted @ 2022-06-16 10:48
JavaShop
阅读(165)
评论(0)
推荐(0)
摘要:
Authentication authentication = SecurityContextHolder.getContext().getAuthentication(); System.out.println("authentication.getClass() = " + authentica 阅读全文
posted @ 2022-06-16 10:29
JavaShop
阅读(685)
评论(0)
推荐(0)