摘要: 一、创建一个springboot项目 创建完成后目录如下: 补齐目录结构 二、添加依赖 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> < 阅读全文
posted @ 2021-12-01 18:07 周文豪 阅读(170) 评论(0) 推荐(0)
摘要: 一、测试 写一个测试类 import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springfr 阅读全文
posted @ 2021-12-01 18:02 周文豪 阅读(682) 评论(0) 推荐(0)
摘要: 一、什么是Shiro? Apache Shiro是一个强大且易用的Java安全框架,执行身份验证、授权、密码和会话管理。 使用Shiro的易于理解的API,您可以快速、轻松地获得任何应用程序,从最小的移动应用程序到最大的网络和企业应用程序。 Apache Shiro 的首要目标是易于使用和理解。安全 阅读全文
posted @ 2021-12-01 11:27 周文豪 阅读(407) 评论(0) 推荐(0)