This is an automated email from the ASF dual-hosted git repository.
wolfboys pushed a commit to branch dev-2.1.8
in repository https://gitbox.apache.org/repos/asf/streampark.git
The following commit(s) were added to refs/heads/dev-2.1.8 by this push:
new 9ca0eebe8 Disable remote access and tracing for H2 console (#4353)
9ca0eebe8 is described below
commit 9ca0eebe894eb30b5cad01807555804c811237be
Author: thiscodecc <[email protected]>
AuthorDate: Sun May 31 23:45:36 2026 +0800
Disable remote access and tracing for H2 console (#4353)
Co-authored-by: thiscodecc <[email protected]>
---
.../org/apache/streampark/console/base/config/SpringProperties.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/base/config/SpringProperties.java
b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/base/config/SpringProperties.java
index 2b1e0a71c..92151af31 100644
---
a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/base/config/SpringProperties.java
+++
b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/base/config/SpringProperties.java
@@ -117,8 +117,8 @@ public class SpringProperties {
// h2
springConfig.put("spring.h2.console.path", "/h2-console");
springConfig.put("spring.h2.console.enabled", true);
- springConfig.put("spring.h2.console.settings.web-allow-others", true);
- springConfig.put("spring.h2.console.settings.trace", true);
+ springConfig.put("spring.h2.console.settings.web-allow-others", false);
+ springConfig.put("spring.h2.console.settings.trace", false);
break;
default:
throw new UnsupportedOperationException("Unsupported datasource
dialect: " + dialect);