![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
shiro
文章平均质量分 61
旧风年间
这个作者很懒,什么都没留下…
展开
-
shiro分步学习,详细-------基础篇
什么是权限管理 一、使用ini完成认证,入门 1、创建shiro.ini文件,模拟数据库查询 #固定写法-创建用户对象 [users] # 账号=密码 zhangchao=666 2、测试类 package com.zhangchao.shiro.study; import org.apache.shiro.SecurityUtils; i...原创 2018-11-21 12:47:26 · 230 阅读 · 0 评论 -
shiro分步学习,详细-------web篇
shiro默认的过滤器 过滤器简称 对应的java类 anon org.apache.shiro.web.filter.authc.AnonymousFilter authc org.apache.shiro.web.filter.authc.FormAuthenticationFilter authcBasic org.apache.shiro.web.filter.authc.B...原创 2018-11-23 09:46:32 · 199 阅读 · 0 评论 -
shiro分步学习,详细-------spring篇
1、项目结构 2、将项目中sql.sql,在MySQL数据库中执行 3、导入相关依赖 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-...原创 2018-11-23 10:18:36 · 168 阅读 · 0 评论