shiro 更改登录的用户名

ShiroUser user = (ShiroUser) SecurityUtils.getSubject().getPrincipal(); 
user.name = newName;

posted @ 2015-05-26 09:10  荣超  阅读(557)  评论(0编辑  收藏  举报