hailin0 commented on code in PR #9171:
URL: https://github.com/apache/seatunnel/pull/9171#discussion_r2045854686


##########
docs/zh/seatunnel-engine/security.md:
##########
@@ -4,6 +4,27 @@ sidebar_position: 16
 
 # Security
 
+## 基本认证

Review Comment:
   ```suggestion
   ## Basic 认证
   ```



##########
docs/zh/seatunnel-engine/security.md:
##########
@@ -4,6 +4,27 @@ sidebar_position: 16
 
 # Security
 
+## 基本认证
+
+您可以通过开启基本认证来保护您的 Web UI。这将要求用户在访问 Web 界面时输入用户名和密码。

Review Comment:
   ```suggestion
   您可以通过开启 Basic 认证来保护您的 Web UI。这将要求用户在访问 Web 界面时输入用户名和密码。
   ```



##########
docs/zh/seatunnel-engine/security.md:
##########
@@ -4,6 +4,27 @@ sidebar_position: 16
 
 # Security
 
+## 基本认证
+
+您可以通过开启基本认证来保护您的 Web UI。这将要求用户在访问 Web 界面时输入用户名和密码。
+
+| 参数名称 | 是否必填 | 参数描述 |
+|--------|---------|--------|
+| `enable-basic-auth` | 否 | 是否开启基本认证,默认为 `false` |

Review Comment:
   ```suggestion
   | `enable-basic-auth` | 否 | 是否开启 Basic 认证,默认为 `false` |
   ```



##########
docs/en/seatunnel-engine/security.md:
##########
@@ -1,5 +1,26 @@
 # Security
 
+## Basic Authentication
+
+You can secure your Web UI by enabling basic authentication. This will require 
users to enter a username and password when accessing the web interface.
+
+| Parameter Name | Required | Description |
+|----------------|----------|-------------|
+| `enable-basic-auth` | No | Whether to enable basic authentication, default 
is `false` |
+| `basic-auth-username` | No | The username for basic authentication, default 
is `admin` |
+| `basic-auth-password` | No | The password for basic authentication, default 
is `admin` |
+
+```yaml
+seatunnel:
+  engine:
+    http:
+      enable-http: true
+      port: 8080
+      enable-basic-auth: true
+      basic-auth-username: "your_username"
+      basic-auth-password: "your_password"

Review Comment:
   Add testcase for http rest submit job api



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to