摘要: 一、认识 Spring中的security:重量级的安全框架、是细粒度的、功能很多 Apache中的Shiro:轻量级安全框架、是粗粒度,功能没有security多,但是也足够用了 二、shiro的四大基石 身份验证、授权、密码学、会话管理 三、shiro的架构 Submit:当前用户 Shiro 阅读全文
posted @ 2019-04-09 23:31 .guangbin 阅读(729) 评论(0) 推荐(0) 编辑
摘要: 利用idea开发工具集成spring+springMVC+mybatis和shiro框架配置 一、pom.xml 二、generatorConfig.xml 三、applicationContext.xml 四、applicationContext-mvc.xml 五、applicationCont 阅读全文
posted @ 2019-04-09 23:13 .guangbin 阅读(386) 评论(0) 推荐(0) 编辑
摘要: 一、代码生成器 1.引入jar包 2.配置generatorConfig.xml 注意名字必须是这个generatorConfig.xml 3.使用 idea右侧工具栏 >mavenProjects >plugins >双击mybatis-generator:generate 二、拦截器 1.写一个 阅读全文
posted @ 2019-04-09 00:19 .guangbin 阅读(152) 评论(0) 推荐(0) 编辑