摘要:
1.SecurityContextHolder:是安全上下文容器,可以在此得知操作的用户是谁,该用户是否已经被认证,他拥有哪些角色权限…这些都被保存在SecurityContextHolder中。 Object principal = SecurityContextHolder.getContext 阅读全文
posted @ 2019-01-31 14:25
山涧清泉
阅读(522)
评论(0)
推荐(0)