You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Yao Zhang (Jira)" <ji...@apache.org> on 2022/08/16 05:47:00 UTC
[jira] [Created] (ZEPPELIN-5799) [docs] LdapRealm config in Shiro Authentication has errors and some explanations are unclear
Yao Zhang created ZEPPELIN-5799:
-----------------------------------
Summary: [docs] LdapRealm config in Shiro Authentication has errors and some explanations are unclear
Key: ZEPPELIN-5799
URL: https://issues.apache.org/jira/browse/ZEPPELIN-5799
Project: Zeppelin
Issue Type: Bug
Components: documentation
Affects Versions: 0.10.1
Environment: Zeppelin 0.10.1
Reporter: Yao Zhang
There is an item in LdapRealm configuration example, as shown below:
{code:java}
ldapRealm.contextFactory.systemAuthenticationMechanism=simple {code}
Actually LdapRealm does not support this config and will result in the following error.
{code:java}
org.apache.shiro.config.ConfigurationException: Property 'contextFactory.systemAuthenticationMechanism' does not exist for object of type org.apache.zeppelin.realm.LdapRealm. {code}
We should change it to:
{code:java}
ldapRealm.contextFactory.authenticationMechanism=simple {code}
Also, some explanations like `ldapRealm.userSearchAttributeName` is unclear.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)