
shiro
文章平均质量分 81
SaRanCao
在校大学生
展开
-
自定义(补充)shiro标签
shiro提供了jsp标签用于页面上的权限控制,vu原创 2014-05-10 22:34:11 · 8995 阅读 · 2 评论 -
thymeleaf模板引擎和shiro框架的整合
shiro权限框架,前端验证是为jsp设计的,其中的tag只能用于jsp系列的模板引擎。最近项目使用了thymeleaf作为前端模板引擎,使用HTML文件,没法引入shiro的tag lib,此时如果要使用shiro的话,可以引入 thymeleaf-extras-shiro.jar这个拓展包来曲线实现shiro的前端验证。 在pom.xml中加入如下依赖: com.github.原创 2014-10-14 20:29:07 · 25691 阅读 · 3 评论