Zeppelin集成LDAP权限验证的配置
修改$ZEPPELIN_HOME/conf/shiro.ini文件,如下所示:
### 配置权限提供者 LDAP DirectoryRealm
ldapRealm = org.apache.zeppelin.realm.LdapGroupRealm
## 验证查找的信息 ldap groups (onlyrelevant for LdapGroupRealm):
ldapRealm.contextFactory.environment[ldap.searchBase]= dc=idc,dc=dream,dc=net
ldapRealm.contextFactory.url =ldap://10.199.212.102:389
ldapRealm.userDnTemplate =uid={0},ou=People,dc=idc,dc=dream,dc=net
ldapRealm.contextFactory.authenticationMechanism= SIMPLE