摘要: 准备工作: 在web.xml中配置shiro核心过滤器 在spring配置文件中提供核心过滤器运行所需要的辅助bean对象,在对象内注入安全管理器 拦截认证 配置三个url 拦截除了登录页面以及认证action之外所有请求 编写shiro认证 编写自己login的action 编写自定义realm 阅读全文
posted @ 2018-01-07 19:32 IT筱龙 阅读(298) 评论(0) 推荐(0) 编辑