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

fuweng11 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new fee750b76d [INLONG-12115][Manager] Set the default value of 
openapi.auth.enabled to true. (#12116)
fee750b76d is described below

commit fee750b76d4d1ee78a4cf316d1928b093b19cab6
Author: fuweng11 <[email protected]>
AuthorDate: Fri May 8 11:29:17 2026 +0800

    [INLONG-12115][Manager] Set the default value of openapi.auth.enabled to 
true. (#12116)
    
    Co-authored-by: wakefu <[email protected]>
---
 .../main/java/org/apache/inlong/manager/web/auth/InlongShiroImpl.java   | 2 +-
 inlong-manager/manager-web/src/main/resources/application.properties    | 2 +-
 inlong-manager/manager-web/src/test/resources/application.properties    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/inlong-manager/manager-web/src/main/java/org/apache/inlong/manager/web/auth/InlongShiroImpl.java
 
b/inlong-manager/manager-web/src/main/java/org/apache/inlong/manager/web/auth/InlongShiroImpl.java
index 4753d9ee8c..620e8a5bbf 100644
--- 
a/inlong-manager/manager-web/src/main/java/org/apache/inlong/manager/web/auth/InlongShiroImpl.java
+++ 
b/inlong-manager/manager-web/src/main/java/org/apache/inlong/manager/web/auth/InlongShiroImpl.java
@@ -77,7 +77,7 @@ public class InlongShiroImpl implements InlongShiro {
     @Autowired
     private InlongTenantService tenantService;
 
-    @Value("${openapi.auth.enabled:false}")
+    @Value("${openapi.auth.enabled:true}")
     private Boolean openAPIAuthEnabled;
 
     @Override
diff --git 
a/inlong-manager/manager-web/src/main/resources/application.properties 
b/inlong-manager/manager-web/src/main/resources/application.properties
index 8042e37f06..2b68f7bd10 100644
--- a/inlong-manager/manager-web/src/main/resources/application.properties
+++ b/inlong-manager/manager-web/src/main/resources/application.properties
@@ -58,7 +58,7 @@ inlong.encrypt.version=1
 inlong.encrypt.key.value1="I!N@L#O$N%G^"
 
 # Clients (e.g. agent and dataproxy) must be authenticated by secretId and 
secretKey if turned on
-openapi.auth.enabled=false
+openapi.auth.enabled=true
 
 # Audit view by role, see audit id definitions: 
https://inlong.apache.org/docs/modules/audit/overview#audit-id
 audit.admin.ids=3,4,5,6
diff --git 
a/inlong-manager/manager-web/src/test/resources/application.properties 
b/inlong-manager/manager-web/src/test/resources/application.properties
index ad0cbd182d..8cc492af07 100644
--- a/inlong-manager/manager-web/src/test/resources/application.properties
+++ b/inlong-manager/manager-web/src/test/resources/application.properties
@@ -59,4 +59,4 @@ inlong.encrypt.version=1
 inlong.encrypt.key.value1="I!N@L#O$N%G^"
 
 # clients (e.g. agent and dataproxy) must be authenticated by secretId and 
secretKey if turned on
-openapi.auth.enabled=false
+openapi.auth.enabled=true

Reply via email to