Authentication 这是干什么的

s5as4sa 2008-02-27 01:21:45
org.acegisecurity.Authentication

Authentication currentUser = SecurityContextHolder.getContext().getAuthentication();
currentUser.getName()

这是在取什么值啊,能详细说说他的用途吗?
...全文
106 2 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
zhangdeyong 2008-02-27
  • 打赏
  • 举报
回复
Authentication 是对用户名、密码、URL进行安全认证。
caiming250 2008-02-27
  • 打赏
  • 举报
回复

Authentication 放置的 是 权限信息

81,116

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧