ldap注释help

This commit is contained in:
xxx 2023-09-01 13:56:13 +08:00
parent d5e410cb1f
commit 4897401d32

View File

@ -233,7 +233,7 @@ public class AppConfigCheck implements CommandLineRunner {
setFieldType(BackendConstant.APP_CONFIG_FIELD_TYPE_SWITCH); setFieldType(BackendConstant.APP_CONFIG_FIELD_TYPE_SWITCH);
setKeyName(ConfigConstant.LDAP_ENABLED); setKeyName(ConfigConstant.LDAP_ENABLED);
setKeyValue("0"); setKeyValue("0");
setHelp("注意:目前仅支持OpenLDAP服务"); setHelp("注意:1.目前仅支持OpenLDAP服务 2.启用以后系统只能使用LDAP账号登录");
} }
}, },
new AppConfig() { new AppConfig() {
@ -243,7 +243,7 @@ public class AppConfigCheck implements CommandLineRunner {
setFieldType(BackendConstant.APP_CONFIG_FIELD_TYPE_TEXT); setFieldType(BackendConstant.APP_CONFIG_FIELD_TYPE_TEXT);
setKeyName(ConfigConstant.LDAP_URL); setKeyName(ConfigConstant.LDAP_URL);
setKeyValue(""); setKeyValue("");
setHelp("LDAP的对外服务地址。例如ldap.example.com"); setHelp("LDAP的对外服务地址。例如ldap://ldap.example.com:389");
} }
}, },
new AppConfig() { new AppConfig() {
@ -253,7 +253,7 @@ public class AppConfigCheck implements CommandLineRunner {
setFieldType(BackendConstant.APP_CONFIG_FIELD_TYPE_TEXT); setFieldType(BackendConstant.APP_CONFIG_FIELD_TYPE_TEXT);
setKeyName(ConfigConstant.LDAP_ADMIN_USER); setKeyName(ConfigConstant.LDAP_ADMIN_USER);
setKeyValue(""); setKeyValue("");
setHelp("用户登录到LDAP。例子cn=admin,dc=playedu,dc=xyz"); setHelp("用户登录到LDAP。cn=admin,dc=example,dc=com");
} }
}, },
new AppConfig() { new AppConfig() {