wheatxiong commented on code in PR #4001:
URL: https://github.com/apache/kyuubi/pull/4001#discussion_r1067926977
##########
kyuubi-common/src/main/scala/org/apache/kyuubi/config/KyuubiConf.scala:
##########
@@ -2035,15 +2035,75 @@ object KyuubiConf {
"and groups information for different user or session configs. This
config value " +
"should be a class which is a child of
'org.apache.kyuubi.plugin.GroupProvider' which " +
"has zero-arg constructor. Kyuubi provides the following built-in
implementations: " +
- "<li>hadoop: delegate the user group mapping to hadoop
UserGroupInformation.</li>")
+ "<li>hadoop: delegate the user group mapping to hadoop
UserGroupInformation.</li> " +
+ "<li>ldap: delegate the user group mapping to ldap.</li>")
.version("1.7.0")
.stringConf
.transform {
case "hadoop" => "org.apache.kyuubi.session.HadoopGroupProvider"
+ case "ldap" => "org.apache.kyuubi.session.LDAPGroupProvider"
case other => other
}
.createWithDefault("hadoop")
+ val LDAP_GROUP_PROVIDER_URL: OptionalConfigEntry[String] =
+ buildConf("kyuubi.session.group.ldap.url")
+ .doc("SPACE character separated LDAP connection URL(s).")
+ .version("1.0.0")
Review Comment:
thanks,i will fix it
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]