2021-06-24 18:00:54 +08:00
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
<groupId>cn.dev33</groupId>
|
2021-10-09 05:43:31 +08:00
|
|
|
|
<artifactId>sa-token-demo-sso-server</artifactId>
|
2021-06-24 18:00:54 +08:00
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
|
|
|
|
|
|
<!-- SpringBoot -->
|
|
|
|
|
<parent>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
2023-01-05 19:20:21 +08:00
|
|
|
|
<version>2.5.14</version>
|
2021-06-24 18:00:54 +08:00
|
|
|
|
<relativePath/>
|
|
|
|
|
</parent>
|
|
|
|
|
|
2022-10-22 05:18:08 +08:00
|
|
|
|
<!-- 定义 Sa-Token 版本号 -->
|
2021-06-24 18:00:54 +08:00
|
|
|
|
<properties>
|
2025-03-21 14:22:00 +08:00
|
|
|
|
<sa-token.version>1.41.0</sa-token.version>
|
2021-06-24 18:00:54 +08:00
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
2021-10-09 05:43:31 +08:00
|
|
|
|
<!-- SpringBoot Web依赖 -->
|
2021-06-24 18:00:54 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2022-10-21 11:27:29 +08:00
|
|
|
|
<!-- Sa-Token 权限认证, 在线文档:https://sa-token.cc/ -->
|
2021-06-24 18:00:54 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cn.dev33</groupId>
|
|
|
|
|
<artifactId>sa-token-spring-boot-starter</artifactId>
|
2022-10-22 05:18:08 +08:00
|
|
|
|
<version>${sa-token.version}</version>
|
2021-06-24 18:00:54 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
|
2022-04-26 00:47:31 +08:00
|
|
|
|
<!-- Sa-Token 插件:整合SSO -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cn.dev33</groupId>
|
|
|
|
|
<artifactId>sa-token-sso</artifactId>
|
2022-10-22 05:18:08 +08:00
|
|
|
|
<version>${sa-token.version}</version>
|
2022-04-26 00:47:31 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- Sa-Token 插件:整合redis (使用jackson序列化方式) -->
|
2021-06-24 18:00:54 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cn.dev33</groupId>
|
2023-05-14 01:32:49 +08:00
|
|
|
|
<artifactId>sa-token-redis-jackson</artifactId>
|
2022-10-22 05:18:08 +08:00
|
|
|
|
<version>${sa-token.version}</version>
|
2021-06-24 18:00:54 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
|
<artifactId>commons-pool2</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-10-09 05:43:31 +08:00
|
|
|
|
<!-- 视图引擎(在前后端不分离模式下提供视图支持) -->
|
2021-06-26 23:30:29 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2021-10-09 05:43:31 +08:00
|
|
|
|
<!-- Http请求工具(在模式三的单点注销功能下用到,如不需要可以注释掉) -->
|
2021-06-29 23:32:35 +08:00
|
|
|
|
<dependency>
|
2022-10-24 00:31:17 +08:00
|
|
|
|
<groupId>com.dtflys.forest</groupId>
|
|
|
|
|
<artifactId>forest-spring-boot-starter</artifactId>
|
|
|
|
|
<version>1.5.26</version>
|
2021-06-29 23:32:35 +08:00
|
|
|
|
</dependency>
|
2022-10-24 00:31:17 +08:00
|
|
|
|
|
2021-10-09 05:43:31 +08:00
|
|
|
|
|
2021-06-24 18:00:54 +08:00
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|