This is an automated email from the ASF dual-hosted git repository.

kinghao pushed a commit to branch release-1.8.0-rc
in repository https://gitbox.apache.org/repos/asf/linkis.git


The following commit(s) were added to refs/heads/release-1.8.0-rc by this push:
     new c4b61ad8d5 fix token security
c4b61ad8d5 is described below

commit c4b61ad8d55a297a0d8ab0fa2947de93367bc2b4
Author: aiceflower <[email protected]>
AuthorDate: Wed Oct 8 11:35:31 2025 +0800

    fix token security
---
 .../linkis-gateway-authentication/src/test/resources/create.sql    | 2 +-
 .../linkis-gateway-authentication/src/test/resources/create_pg.sql | 7 +------
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git 
a/linkis-spring-cloud-services/linkis-service-gateway/linkis-gateway-authentication/src/test/resources/create.sql
 
b/linkis-spring-cloud-services/linkis-service-gateway/linkis-gateway-authentication/src/test/resources/create.sql
index efcf6cc908..b9bd3fc575 100644
--- 
a/linkis-spring-cloud-services/linkis-service-gateway/linkis-gateway-authentication/src/test/resources/create.sql
+++ 
b/linkis-spring-cloud-services/linkis-service-gateway/linkis-gateway-authentication/src/test/resources/create.sql
@@ -37,4 +37,4 @@ DELETE FROM linkis_mg_gateway_auth_token;
 -- ----------------------------
 -- Default Tokens
 -- ----------------------------
-INSERT INTO 
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
 VALUES 
('LINKIS-UNAVAILABLE-TOKE','*','*','BDP',curdate(),curdate(),-1,'LINKIS');
\ No newline at end of file
+INSERT INTO 
`linkis_mg_gateway_auth_token`(`token_name`,`legal_users`,`legal_hosts`,`business_owner`,`create_time`,`update_time`,`elapse_day`,`update_by`)
 VALUES 
('LINKIS-UNAVAILABLE-TOKE','test','127.0.0.1','BDP',curdate(),curdate(),-1,'LINKIS');
\ No newline at end of file
diff --git 
a/linkis-spring-cloud-services/linkis-service-gateway/linkis-gateway-authentication/src/test/resources/create_pg.sql
 
b/linkis-spring-cloud-services/linkis-service-gateway/linkis-gateway-authentication/src/test/resources/create_pg.sql
index 64b0def6e2..a2f532ce15 100644
--- 
a/linkis-spring-cloud-services/linkis-service-gateway/linkis-gateway-authentication/src/test/resources/create_pg.sql
+++ 
b/linkis-spring-cloud-services/linkis-service-gateway/linkis-gateway-authentication/src/test/resources/create_pg.sql
@@ -34,9 +34,4 @@ delete from linkis_mg_gateway_auth_token;
 -- ----------------------------
 -- Default Tokens
 -- ----------------------------
-INSERT INTO 
"linkis_mg_gateway_auth_token"("token_name","legal_users","legal_hosts","business_owner","create_time","update_time","elapse_day","update_by")
 VALUES (concat('QML-', md5(cast(random() as 
varchar))),'*','*','BDP',now(),now(),-1,'LINKIS');
-INSERT INTO 
"linkis_mg_gateway_auth_token"("token_name","legal_users","legal_hosts","business_owner","create_time","update_time","elapse_day","update_by")
 VALUES ('LINKIS-UNAVAILABLE-TOKE','*','*','BDP',now(),now(),-1,'LINKIS');
-INSERT INTO 
"linkis_mg_gateway_auth_token"("token_name","legal_users","legal_hosts","business_owner","create_time","update_time","elapse_day","update_by")
 VALUES (concat('DSS-', md5(cast(random() as 
varchar))),'*','*','BDP',now(),now(),-1,'LINKIS');
-INSERT INTO 
"linkis_mg_gateway_auth_token"("token_name","legal_users","legal_hosts","business_owner","create_time","update_time","elapse_day","update_by")
 VALUES (concat('QUALITIS-', md5(cast(random() as 
varchar))),'*','*','BDP',now(),now(),-1,'LINKIS');
-INSERT INTO 
"linkis_mg_gateway_auth_token"("token_name","legal_users","legal_hosts","business_owner","create_time","update_time","elapse_day","update_by")
 VALUES (concat('VALIDATOR-', md5(cast(random() as 
varchar))),'*','*','BDP',now(),now(),-1,'LINKIS');
-INSERT INTO 
"linkis_mg_gateway_auth_token"("token_name","legal_users","legal_hosts","business_owner","create_time","update_time","elapse_day","update_by")
 VALUES (concat('LINKISCLI-', md5(cast(random() as 
varchar))),'*','*','BDP',now(),now(),-1,'LINKIS');
\ No newline at end of file
+INSERT INTO 
"linkis_mg_gateway_auth_token"("token_name","legal_users","legal_hosts","business_owner","create_time","update_time","elapse_day","update_by")
 VALUES 
('LINKIS-UNAVAILABLE-TOKE','test','127.0.0.1','BDP',now(),now(),-1,'LINKIS');
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to