Develop synced from 2.2.2 (#10307)

* Fix dynamic change token to illegal value will use old token.

* Add description in pom for release.

* Upgrade to 2.2.2

* Upgrade to 2.3.0-SNAPSHOT
This commit is contained in:
杨翊 SionYang 2023-04-11 17:34:06 +08:00 committed by GitHub
parent 2bb2b9d21d
commit b3b5236cd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 10 additions and 7 deletions

View File

@ -29,6 +29,7 @@
<name>nacos-api ${project.version}</name>
<url>https://nacos.io</url>
<description>Nacos api pom.xml file</description>
<build>
<plugins>
<!-- reuse when you need to update grpc model -->

View File

@ -30,6 +30,7 @@
<name>nacos-client ${project.version}</name>
<url>https://nacos.io</url>
<description>Nacos client pom.xml file</description>
<dependencies>

View File

@ -31,7 +31,7 @@
<name>nacos-common ${project.version}</name>
<url>https://nacos.io</url>
<description>Nacos common pom.xml file</description>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>

View File

@ -76,6 +76,7 @@ public class JwtTokenManager extends Subscriber<ServerConfigChangeEvent> impleme
try {
this.jwtParser = new NacosJwtParser(encodedSecretKey);
} catch (Exception e) {
this.jwtParser = null;
if (authConfigs.isAuthEnabled()) {
throw new IllegalArgumentException(
"the length of secret key must great than or equal 32 bytes; And the secret key must be encoded by base64."

View File

@ -28,7 +28,7 @@
<artifactId>nacos-auth-plugin</artifactId>
<name>nacos-auth-plugin ${project.version}</name>
<url>https://nacos.io</url>
<description>Nacos auth plugin pom.xml file</description>
<dependencies>
<dependency>
<groupId>com.alibaba.nacos</groupId>

View File

@ -27,7 +27,7 @@
<artifactId>nacos-datasource-plugin</artifactId>
<name>nacos-datasource-plugin ${project.version}</name>
<url>https://nacos.io</url>
<description>Nacos datasource plugin pom.xml file</description>
<dependencies>
<dependency>
<groupId>com.alibaba.nacos</groupId>

View File

@ -28,7 +28,7 @@
<artifactId>nacos-encryption-plugin</artifactId>
<name>nacos-encryption-plugin ${project.version}</name>
<url>https://nacos.io</url>
<description>Nacos encryption plugin pom.xml file</description>
<dependencies>
<dependency>
<groupId>com.alibaba.nacos</groupId>

View File

@ -28,7 +28,7 @@
<artifactId>nacos-custom-environment-plugin</artifactId>
<name>nacos-custom-environment-plugin ${project.version}</name>
<url>https://nacos.io</url>
<description>Nacos custom environment plugin pom.xml file</description>
<dependencies>
<dependency>
<groupId>com.alibaba.nacos</groupId>

View File

@ -28,7 +28,7 @@
<artifactId>nacos-trace-plugin</artifactId>
<name>nacos-trace-plugin ${project.version}</name>
<url>https://nacos.io</url>
<description>Nacos trace plugin pom.xml file</description>
<dependencies>
<dependency>
<groupId>com.alibaba.nacos</groupId>

View File

@ -88,7 +88,7 @@
</issueManagement>
<properties>
<revision>2.2.1</revision>
<revision>2.3.0-SNAPSHOT</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- Compiler settings properties -->