摘要:
@RequestMapping("getUser") public void getUser(HttpServletRequest req){ String remoteUser=req.getRemoteUser(); Authentication auth=(Authentication) re 阅读全文
摘要:
Authentication authentication = SecurityContextHolder.getContext().getAuthentication(); System.out.println("authentication.getClass() = " + authentica 阅读全文