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)