摘要: 1.首先是导入标签库 1.1 hasrole 标签 <shiro:hasRole name="admin"> 用户[<shiro:principal/>]拥有角色admin<br/> </shiro:hasRole> 1.2 hasPermission标签 <shiro:hasPermission  阅读全文
posted @ 2017-12-02 15:06 梅花GG 阅读(9171) 评论(0) 推荐(1) 编辑
摘要: 这两天由于家里出了点事情,没有准时的进行学习。今天补上之前的笔记 没有学不会的技术,只有不停找借口的人 学习到的知识点: 1.Shiro 集成WEB 2.基于角色的权限控制 3.基于权限的控制 工程目录结构 下面先是两个Servlet的内容 1.AdminServlet的内容 2.LoginServ 阅读全文
posted @ 2017-12-02 13:29 梅花GG 阅读(290) 评论(0) 推荐(0) 编辑