1
0
mirror of https://gitee.com/dromara/sa-token.git synced 2025-04-05 17:37:53 +08:00

v1.34.0 更新

This commit is contained in:
click33 2023-01-11 14:35:04 +08:00
parent 69cecb5497
commit 1e87426481
40 changed files with 105 additions and 49 deletions
README.mdmvn clean.batpom.xml
sa-token-core/src/main/java/cn/dev33/satoken
sa-token-demo
sa-token-demo-alone-redis-cluster
sa-token-demo-alone-redis
sa-token-demo-case
sa-token-demo-dubbo-consumer
sa-token-demo-dubbo-provider
sa-token-demo-grpc
sa-token-demo-jwt
sa-token-demo-oauth2-client
sa-token-demo-oauth2-server
sa-token-demo-quick-login
sa-token-demo-solon
sa-token-demo-springboot-redis
sa-token-demo-springboot-redisson
sa-token-demo-springboot
sa-token-demo-springboot3-redis
sa-token-demo-sso-server-solon
sa-token-demo-sso-server
sa-token-demo-sso1-client
sa-token-demo-sso2-client
sa-token-demo-sso3-client
sa-token-demo-test
sa-token-demo-thymeleaf
sa-token-demo-webflux-springboot3
sa-token-demo-webflux
sa-token-demo-websocket-spring
sa-token-demo-websocket
sa-token-dependencies
sa-token-doc
sa-token-plugin/sa-token-context-grpc

View File

@ -1,7 +1,7 @@
<p align="center">
<img alt="logo" src="https://sa-token.cc/logo.png" width="150" height="150">
</p>
<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">Sa-Token v1.33.0</h1>
<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">Sa-Token v1.34.0</h1>
<h4 align="center">一个轻量级 Java 权限认证框架,让鉴权变得简单、优雅!</h4>
<p align="center">
<a href="https://gitee.com/dromara/sa-token/stargazers"><img src="https://gitee.com/dromara/sa-token/badge/star.svg?theme=gvp"></a>

View File

@ -6,6 +6,8 @@ call mvn clean
cd sa-token-demo
cd sa-token-demo-alone-redis & call mvn clean & cd ..
cd sa-token-demo-alone-redis-cluster & call mvn clean & cd ..
cd sa-token-demo-case & call mvn clean & cd ..
cd sa-token-demo-dubbo-consumer & call mvn clean & cd ..
cd sa-token-demo-dubbo-provider & call mvn clean & cd ..
cd sa-token-demo-grpc & call mvn clean & cd ..
@ -16,15 +18,19 @@ cd sa-token-demo-quick-login & call mvn clean & cd ..
cd sa-token-demo-solon & call mvn clean & cd ..
cd sa-token-demo-case & call mvn clean & cd ..
cd sa-token-demo-springboot & call mvn clean & cd ..
cd sa-token-demo-springboot3-redis & call mvn clean & cd ..
cd sa-token-demo-springboot-redis & call mvn clean & cd ..
cd sa-token-demo-springboot-redisson & call mvn clean & cd ..
cd sa-token-demo-test & call mvn clean & cd ..
cd sa-token-demo-sso1-client & call mvn clean & cd ..
cd sa-token-demo-sso2-client & call mvn clean & cd ..
cd sa-token-demo-sso3-client & call mvn clean & cd ..
cd sa-token-demo-sso3-client-nosdk & call mvn clean & cd ..
cd sa-token-demo-sso-server & call mvn clean & cd ..
cd sa-token-demo-sso-server-solon & call mvn clean & cd ..
cd sa-token-demo-thymeleaf & call mvn clean & cd ..
cd sa-token-demo-webflux & call mvn clean & cd ..
cd sa-token-demo-webflux-springboot3 & call mvn clean & cd ..
cd sa-token-demo-websocket & call mvn clean & cd ..
cd sa-token-demo-websocket-spring & call mvn clean & cd ..

23
pom.xml
View File

@ -39,7 +39,7 @@
<!-- 一些属性 -->
<properties>
<revision>1.33.0</revision>
<revision>1.34.0</revision>
<jdk.version>1.8</jdk.version>
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>utf-8</project.reporting.outputEncoding>
@ -95,14 +95,31 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<version>3.10.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</execution>
</executions>
</plugin>
<!-- 统一版本号管理 -->
<plugin>
<groupId>org.codehaus.mojo</groupId>

View File

@ -17,7 +17,7 @@ import cn.dev33.satoken.util.SaFoxUtil;
public interface SaSignTemplate {
/**
* 将所有参数连接成一个字符串(不排序)形如b=2&a=1&c=3
* 将所有参数连接成一个字符串(不排序)形如b=28a=18c=3
* @param paramsMap 参数列表
* @return 拼接出的参数字符串
*/
@ -42,7 +42,7 @@ public interface SaSignTemplate {
}
/**
* 将所有参数按照字典顺序连接成一个字符串形如a=1&b=2&c=3
* 将所有参数按照字典顺序连接成一个字符串形如a=18b=28c=3
* @param paramsMap 参数列表
* @return 拼接出的参数字符串
*/
@ -109,7 +109,7 @@ public interface SaSignTemplate {
/**
* paramsMap 追加 timestampnoncesign 三个参数并转换为参数字符串形如
* <code>data=xxx&nonce=xxx&timestamp=xxx&sign=xxx</code>
* <code>data=xxx8nonce=xxx8timestamp=xxx8sign=xxx</code>
* @param paramsMap 参数列表
* @param key 秘钥
* @return 加工后的参数列表 转化为的参数字符串

View File

@ -127,6 +127,7 @@ public interface SaTempInterface {
/**
* 获取映射关系的持久化key
* @param service 服务标识
* @param token token值
* @return key
*/

View File

@ -15,7 +15,7 @@ public class SaTokenConsts {
/**
* Sa-Token 当前版本号
*/
public static final String VERSION_NO = "v1.33.0";
public static final String VERSION_NO = "v1.34.0";
/**
* Sa-Token 开源地址 Gitee

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
</properties>
<dependencies>

View File

@ -17,7 +17,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
</properties>
<dependencies>

View File

@ -17,7 +17,7 @@
<properties>
<java.version>1.8</java.version>
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
</properties>
<dependencies>

View File

@ -17,7 +17,7 @@
<properties>
<java.version>1.8</java.version>
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
</properties>
<dependencies>

View File

@ -27,7 +27,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<lombok.version>1.18.10</lombok.version>
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
</properties>
<dependencies>

View File

@ -17,7 +17,7 @@
<java.version>1.8</java.version>
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
<!-- 定义 Sa-Token 版本号 -->
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
</properties>
<dependencies>

View File

@ -17,7 +17,7 @@
<java.version>1.8</java.version>
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
<!-- 定义 Sa-Token 版本号 -->
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
</properties>
<dependencies>

View File

@ -9,7 +9,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
<solon.version>1.10.13</solon.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

View File

@ -17,7 +17,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
</properties>
<dependencies>

View File

@ -17,7 +17,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
</properties>
<dependencies>

View File

@ -17,7 +17,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
</properties>
<dependencies>

View File

@ -17,7 +17,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
</properties>
<dependencies>

View File

@ -16,7 +16,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
</properties>
<dependencies>

View File

@ -17,7 +17,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
</properties>
<dependencies>

View File

@ -17,7 +17,7 @@
<!-- 定义 Sa-Token 版本号 -->
<properties>
<sa-token.version>1.33.0</sa-token.version>
<sa-token.version>1.34.0</sa-token.version>
</properties>
<dependencies>

View File

@ -12,7 +12,7 @@
<description>Sa-Token Dependencies</description>
<properties>
<revision>1.33.0</revision>
<revision>1.34.0</revision>
<!-- 统一定义依赖版本号 -->
<springboot.version>2.5.14</springboot.version>
@ -397,7 +397,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<version>3.10.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>

View File

@ -1,7 +1,7 @@
<p align="center">
<img alt="logo" src="https://sa-token.cc/logo.png" width="150" height="150">
</p>
<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">Sa-Token v1.33.0</h1>
<h1 align="center" style="margin: 30px 0 30px; font-weight: bold;">Sa-Token v1.34.0</h1>
<h5 align="center">一个轻量级 Java 权限认证框架,让鉴权变得简单、优雅!</h5>
<p align="center" class="badge-box">
<a href="https://gitee.com/dromara/sa-token/stargazers"><img src="https://gitee.com/dromara/sa-token/badge/star.svg?theme=gvp"></a>

View File

@ -18,7 +18,7 @@
<div class="logo-box">
<img src="logo.png" title="logo" />
<h1 class="logo-text">Sa-Token</h1>
<sub>v1.33.0</sub>
<sub>v1.34.0</sub>
</div>
</a>
</div>
@ -28,6 +28,7 @@
</div>
<select class="select-version p-none" onchange="location.href=this.value">
<option value="doc.html">最新版</option>
<option value="v/v1.33.0/doc.html">v1.33.0</option>
<option value="v/v1.32.0/doc.html">v1.32.0</option>
<option value="v/v1.31.0/doc.html">v1.31.0</option>
<option value="v/v1.30.0/doc/index.html">v1.30.0</option>
@ -150,7 +151,7 @@
<!-- -->
<script src="./static/docsify-plugin.js"></script>
<script>
var saTokenTopVersion = '1.33.0'; // Sa-Token最新版本
var saTokenTopVersion = '1.34.0'; // Sa-Token最新版本
var name = '<img style="width: 60px; height: 60px; vertical-align: middle;" src="logo.png" alt="logo" /> ';
name += '<b style="font-size: 28px; vertical-align: middle;">Sa-Token</b> <sub>v' + saTokenTopVersion + '</sub>';
window.$docsify = {

View File

@ -102,7 +102,7 @@
<div class="main-box">
<div class="content-box">
<!-- <div class="fenge"></div> -->
<h1>Sa-Token<small>v1.33.0</small></h1>
<h1>Sa-Token<small>v1.34.0</small></h1>
<div class="sub-title">一个轻量级 java 权限认证框架,让鉴权变得简单、优雅!</div>
<div class="btn-box">
<a class="abtn" href="https://github.com/dromara/sa-token" target="_blank">GitHub</a>
@ -361,6 +361,12 @@
<a href="https://www.geostar.com.cn/" target="_blank" title="吉奥时空">
<img src="https://oss.dev33.cn/sa-token/com/jieaoshikong.png">
</a>
<a href="http://www.stbella.cn/" target="_blank" title="贝康国际">
<img src="https://oss.dev33.cn/sa-token/com/beikangguoji.png">
</a>
<a href="https://mimirii.com/" target="_blank" title="西安米默网络科技有限公司">
<img src="https://oss.dev33.cn/sa-token/com/mimokeji.png">
</a>
</div>
<div style="height: 10px; clear: both;"></div>
<p>
@ -454,6 +460,21 @@
<a href="http://www.mtruning.club" target="_blank">
<img src="https://oss.dev33.cn/sa-token/link/go-view.png" msg="低代码数据可视化开发平台">
</a>
<a href="https://tangyh.top/" target="_blank">
<img src="https://oss.dev33.cn/sa-token/link/lamp-cloud.png" msg="微服务中后台快速开发平台,支持租户(SaaS)模式、非租户模式">
</a>
<a href="https://www.redisfront.com/" target="_blank">
<img src="https://oss.dev33.cn/sa-token/link/redis-front.png" msg="RedisFront 是一款开源免费的跨平台 Redis 桌面客户端工具, 支持单机模式, 集群模式, 哨兵模式以及 SSH 隧道连接, 可轻松管理Redis缓存数据.">
</a>
<a href="https://www.yuque.com/u34495/mivcfg" target="_blank">
<img src="https://oss.dev33.cn/sa-token/link/electron-egg.png" msg="一个入门简单、跨平台、企业级桌面软件开发框架">
</a>
<a href="https://gitee.com/dromara/open-capacity-platform" target="_blank">
<img src="https://oss.dev33.cn/sa-token/link/open-capacity-platform.png" msg="简称ocp是基于Spring Cloud的企业级微服务框架(用户权限管理,配置中心管理,应用管理,....)">
</a>
<a href="http://easy-trans.fhs-opensource.top/" target="_blank">
<img src="https://oss.dev33.cn/sa-token/link/easy_trans.png" msg="Easy-Trans 一个注解搞定数据翻译,减少30%SQL代码量">
</a>
<a href="https://dromara.org/zh/projects/" target="_blank">
<img src="https://oss.dev33.cn/sa-token/link/dromara.png" msg="让每一位开源爱好者,体会到开源的快乐。">
</a>

View File

@ -19,7 +19,16 @@ Sa-Token 采用 Apache-2.0 开源协议,**承诺框架本身与官网文档永
| 赞助人 | 赞助金额 | 留言 | 时间 |
| :-------- | :-------- | :-------- | :-------- |
| [laruui](https://gitee.com/laruui) | ¥ 10.0 | 感谢您的开源项目!加油 | 2022-10-28 |
| [tsing](https://gitee.com/tsing666) | ¥ 10.0 | 感谢您的开源项目! | 2023-01-08 |
| [SWmachine](https://gitee.com/SWmachine) | ¥ 10.0 | 您的开源很好用! | 2023-01-07 |
| [Peter Z](https://gitee.com/zj1995) | ¥ 10.0 | 感谢您的开源项目! | 2022-12-26 |
| [ken](https://gitee.com/affction) | ¥ 10.0 | 感谢您的开源项目! | 2022-12-19 |
| [刘涛](https://gitee.com/doILike) | ¥ 10.0 | 感谢您的开源项目! | 2022-12-13 |
| [时间很快](https://gitee.com/frsimple) | ¥ 50.0 | 感谢您的开源项目! | 2022-11-29 |
| [ThatYear](https://gitee.com/wangmuqing) | ¥ 20.0 | 感谢您的开源项目! | 2022-11-24 |
| [IlovePea](https://gitee.com/IlovePea) | ¥ 10.0 | 感谢您的开源项目! | 2022-11-22 |
| [feel](https://gitee.com/xujiahuim) | ¥ 10.0 | 感谢您的开源项目! | 2022-11-17 |
| [laruui](https://gitee.com/laruui) | ¥ 10.0 | 感谢您的开源项目! | 2022-10-28 |
| [就眠儀式](https://gitee.com/Jmysy) | ¥ 50.0 | 感谢您的开源项目! | 2022-10-26 |
| [王文博](https://gitee.com/rl520) | ¥ 20.0 | 感谢您的开源项目! | 2022-10-24 |
| [feyong](https://gitee.com/feyong) | ¥ 10.0 | 感谢您的开源项目! | 2022-10-18 |

View File

@ -1,7 +1,7 @@
# 更新日志
### 2023-1-10 @v1.34.0
### 2023-1-11 @v1.34.0
- 新增:新增 `SpringBoot3.x` 集成插件,感谢 `@jry` 提供的参考思路。 **[重要]**
- 新增:新增 `sa-token-dao-redisson-jackson` 插件,感谢 `@疯狂的狮子Li` 提交的pr。 **[重要]**
- 新增Alone-Redis 新增集群配置能力,感谢 `@appleOfGray` 提交的pr。 **[重要]**

View File

@ -5,14 +5,14 @@
---
### 正式版本
v1.33.0 正式版,可上生产:
v1.34.0 正式版,可上生产:
``` xml
<!-- Sa-Token 权限认证 -->
<dependency>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-spring-boot-starter</artifactId>
<version>1.33.0</version>
<version>1.34.0</version>
</dependency>
```

View File

@ -1,14 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<?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-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>sa-token-plugin</artifactId>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-plugin</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>