修改$ZEPPELIN_HOME/conf/shiro.ini文件,以下所示:apache
### 配置權限提供者 LDAP DirectoryRealmui
ldapRealm = org.apache.zeppelin.realm.LdapGroupRealmurl
## 驗證查找的信息 ldap groups (onlyrelevant for LdapGroupRealm):spa
ldapRealm.contextFactory.environment[ldap.searchBase]= dc=idc,dc=dream,dc=netio
ldapRealm.contextFactory.url =ldap://10.199.212.102:389配置
ldapRealm.userDnTemplate =uid={0},ou=People,dc=idc,dc=dream,dc=net權限
ldapRealm.contextFactory.authenticationMechanism= SIMPLEshiro