Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-5799

[docs] LdapRealm config in Shiro Authentication has errors and some explanations are unclear

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.1
    • 0.11.0
    • documentation
    • None
    • Zeppelin 0.10.1

    Description

      There is an item in LdapRealm configuration example, as shown below:

      ldapRealm.contextFactory.systemAuthenticationMechanism=simple 

      Actually LdapRealm does not support this config and will result in the following error.

      org.apache.shiro.config.ConfigurationException: Property 'contextFactory.systemAuthenticationMechanism' does not exist for object of type org.apache.zeppelin.realm.LdapRealm. 

      We should change it to:

      ldapRealm.contextFactory.authenticationMechanism=simple  

      Also, some explanations like `ldapRealm.userSearchAttributeName` is unclear.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              paul8263 Yao Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: