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:
parent
2bb2b9d21d
commit
b3b5236cd4
@ -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 -->
|
||||
|
@ -30,6 +30,7 @@
|
||||
|
||||
<name>nacos-client ${project.version}</name>
|
||||
<url>https://nacos.io</url>
|
||||
<description>Nacos client pom.xml file</description>
|
||||
|
||||
<dependencies>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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."
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
2
pom.xml
2
pom.xml
@ -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 -->
|
||||
|
Loading…
Reference in New Issue
Block a user