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

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


The following commit(s) were added to refs/heads/master by this push:
     new 2bb0135a9e Add Authorization parameters to confignode.properties 
(#6985)
2bb0135a9e is described below

commit 2bb0135a9e3a5aa6f0dca9772dbc655fc86d37ac
Author: Yifu Zhou <[email protected]>
AuthorDate: Sun Aug 14 20:05:55 2022 +0800

    Add Authorization parameters to confignode.properties (#6985)
---
 .../resources/conf/iotdb-confignode.properties     | 29 +++++++++++++++++++++-
 .../resources/conf/iotdb-datanode.properties       | 28 ++++++++++++---------
 2 files changed, 44 insertions(+), 13 deletions(-)

diff --git a/confignode/src/assembly/resources/conf/iotdb-confignode.properties 
b/confignode/src/assembly/resources/conf/iotdb-confignode.properties
index 19f5417af3..68afea0736 100644
--- a/confignode/src/assembly/resources/conf/iotdb-confignode.properties
+++ b/confignode/src/assembly/resources/conf/iotdb-confignode.properties
@@ -305,4 +305,31 @@ target_config_nodes=0.0.0.0:22277
 # 1. strong(Default, read from the leader replica)
 # 2. weak(Read from a random replica)
 # Datatype: string
-# read_consistency_level=strong
\ No newline at end of file
+# read_consistency_level=strong
+
+
+####################
+### Authorization Configuration
+####################
+
+
+# which class to serve for authorization. By default, it is 
LocalFileAuthorizer.
+# Another choice is org.apache.iotdb.db.auth.authorizer.OpenIdAuthorizer
+# 
authorizer_provider_class=org.apache.iotdb.commons.auth.authorizer.LocalFileAuthorizer
+
+# If OpenIdAuthorizer is enabled, then openID_url must be set.
+# openID_url=
+
+# admin username, default is root
+# Datatype: string
+# admin_name=root
+
+# encryption provider class
+# 
iotdb_server_encrypt_decrypt_provider=org.apache.iotdb.commons.security.encrypt.MessageDigestEncrypt
+
+# encryption provided class parameter
+# iotdb_server_encrypt_decrypt_provider_parameter=
+
+# admin password, default is root
+# Datatype: string
+# admin_password=root
\ No newline at end of file
diff --git a/server/src/assembly/resources/conf/iotdb-datanode.properties 
b/server/src/assembly/resources/conf/iotdb-datanode.properties
index 0b50acd73f..e7a9e4ccf6 100644
--- a/server/src/assembly/resources/conf/iotdb-datanode.properties
+++ b/server/src/assembly/resources/conf/iotdb-datanode.properties
@@ -862,14 +862,26 @@ timestamp_precision=ms
 ### Authorization Configuration
 ####################
 
-#which class to serve for authorization. By default, it is LocalFileAuthorizer.
-#Another choice is org.apache.iotdb.db.auth.authorizer.OpenIdAuthorizer
+# which class to serve for authorization. By default, it is 
LocalFileAuthorizer.
+# Another choice is org.apache.iotdb.db.auth.authorizer.OpenIdAuthorizer
 # 
authorizer_provider_class=org.apache.iotdb.commons.auth.authorizer.LocalFileAuthorizer
 
+# If OpenIdAuthorizer is enabled, then openID_url must be set.
+# openID_url=
 
-#If OpenIdAuthorizer is enabled, then openID_url must be set.
+# admin username, default is root
+# Datatype: string
+# admin_name=root
+
+# encryption provider class
+# 
iotdb_server_encrypt_decrypt_provider=org.apache.iotdb.commons.security.encrypt.MessageDigestEncrypt
 
-#openID_url=
+# encryption provided class parameter
+# iotdb_server_encrypt_decrypt_provider_parameter=
+
+# admin password, default is root
+# Datatype: string
+# admin_password=root
 
 # Cache size of user and role
 # Datatype: int
@@ -1015,14 +1027,6 @@ timestamp_precision=ms
 # Datatype: long
 # partition_interval=604800
 
-# admin username, default is root
-# Datatype: string
-# admin_name=root
-
-# admin password, default is root
-# Datatype: string
-# admin_password=root
-
 ####################
 ### Influx DB RPC Service Configuration
 ####################

Reply via email to