sasl:sasl的對(duì)應(yīng)的id,是一個(gè)通過sasl authentication用戶的id,zookeeper-3.4.4中的sasl authentication是通過kerberos來實(shí)現(xiàn)的,也就是說用戶只有通過了kerberos認(rèn)證,才能訪問它有權(quán)限的node. 如果需要實(shí)現(xiàn)自己定義的Scheme,可以實(shí)現(xiàn)org.apache.zookeeper.server.auth.AuthenticationProvider接口。
www.dbjr.com.cn/article/1242...htm 2025-6-8