1、服务端
SimpleAuthenticationInfo(shiroUser, user.getPwd(), user.getLoginName());
2、jsp页面
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
3、
<shiro:principal property="name"/>
1、服务端
SimpleAuthenticationInfo(shiroUser, user.getPwd(), user.getLoginName());
2、jsp页面
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
3、
<shiro:principal property="name"/>