摘要: 根据用户权限显示不同页面: 1.thymeleaf扩展shiro <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifact 阅读全文
posted @ 2020-03-06 17:04 MyBeans 阅读(6484) 评论(0) 推荐(0) 编辑
摘要: JSP 标签 Shiro 提供了 JSTL 标签用于在 JSP/GSP 页面进行权限控制,如根据登录用户显示相应的页面按钮。 导入标签库 <%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %> guest 标签 <shiro:gu 阅读全文
posted @ 2020-03-06 15:41 MyBeans 阅读(297) 评论(0) 推荐(0) 编辑