<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Zeppelin 0.8 on HDP 3.1.0.0 class org.apache.zeppelin.server.LdapRealm not instantiate in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Zeppelin-0-8-on-HDP-3-1-0-0-class-org-apache-zeppelin-server/m-p/282216#M209846</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/56028"&gt;@wdailey&lt;/a&gt;&amp;nbsp; Use "ldapRealm=org.apache.zeppelin.&lt;STRONG&gt;realm.LdapRealm"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Below is the template for your reference&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ldapRealm=org.apache.zeppelin.realm.LdapRealm 
ldapRealm.contextFactory.systemUsername =cn=manager,dc=charan,dc=com
ldapRealm.contextFactory.systemPassword =admin 
ldapRealm.contextFactory.authenticationMechanism=simple 
ldapRealm.contextFactory.url=ldap://test1:389 
ldapRealm.authorizationEnabled=true 
#ldapRealm.pagingSize = 20000 
ldapRealm.searchBase=
ldapRealm.userSearchBase=
ldapRealm.groupSearchBase=
ldapRealm.userObjectClass=
ldapRealm.userSearchAttributeName = uid 
ldapRealm.userSearchScope = subtree 
ldapRealm.groupSearchScope = subtree 
ldapRealm.userSearchFilter= 
ldapRealm.memberAttribute = member 
ldapRealm.memberAttributeValueTemplate=(name={0})&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 06 Nov 2019 14:20:44 GMT</pubDate>
    <dc:creator>Scharan</dc:creator>
    <dc:date>2019-11-06T14:20:44Z</dc:date>
    <item>
      <title>Zeppelin 0.8 on HDP 3.1.0.0 class org.apache.zeppelin.server.LdapRealm not instantiate</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Zeppelin-0-8-on-HDP-3-1-0-0-class-org-apache-zeppelin-server/m-p/282210#M209841</link>
      <description>&lt;P&gt;Error:&amp;nbsp;Unable to instantiate class [org.apache.zeppelin.server.LdapRealm] for object named 'ldapRealm'.&amp;nbsp; The same is true for 'ldapGroupRealm'&lt;/P&gt;&lt;P&gt;Zeppelin 0.8 on HDP 3.1.0.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Configuration:&lt;/P&gt;&lt;P&gt;# authentication settings&lt;BR /&gt;ldapRealm = org.apache.zeppelin.server.LdapRealm&lt;BR /&gt;ldapRealm.contextFactory.environment[ldap.searchBase] = DC=tantor,DC=net&lt;BR /&gt;ldapRealm.userDnTemplate = uid={0},OU=users,DC=tantor,DC=net&lt;BR /&gt;ldapRealm.contextFactory.url = ldap://infra01.tantor.net:389&lt;BR /&gt;ldapRealm.contextFactory.authenticationMechanism = SIMPLE&lt;/P&gt;&lt;P&gt;# general settings&lt;BR /&gt;sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager&lt;BR /&gt;securityManager.cacheManager = $cacheManager&lt;BR /&gt;securityManager.sessionManager = $sessionManager&lt;BR /&gt;securityManager.sessionManager.globalSessionTimeout = 86400000&lt;/P&gt;&lt;P&gt;shiro.loginUrl = /api/login&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exception:&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR [2019-11-06 12:49:24,565] ({main} EnvironmentLoader.java[initEnvironment]:146) - Shiro environment initialization failed&lt;BR /&gt;org.apache.shiro.config.ConfigurationException: Unable to instantiate class [org.apache.zeppelin.server.LdapRealm] for object named 'ldapRealm'. Please ensure you've specified the fully qualified class name correctly.&lt;BR /&gt;at org.apache.shiro.config.ReflectionBuilder.createNewInstance(ReflectionBuilder.java:309)&lt;/P&gt;&lt;P&gt;NOTE: I have tried both LdapRealm and LdapGroupRealm with the same results&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additional Information:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mail-archives.apache.org/mod_mbox/zeppelin-users/201611.mbox/%3CCAPyZXSRUtGx9A_QB9BZN6H8mkk1gU88nAEJra38JhP44uhM3sw@mail.gmail.com%3E" target="_blank"&gt;http://mail-archives.apache.org/mod_mbox/zeppelin-users/201611.mbox/%3CCAPyZXSRUtGx9A_QB9BZN6H8mkk1gU88nAEJra38JhP44uhM3sw@mail.gmail.com%3E&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 13:11:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Zeppelin-0-8-on-HDP-3-1-0-0-class-org-apache-zeppelin-server/m-p/282210#M209841</guid>
      <dc:creator>wdailey</dc:creator>
      <dc:date>2019-11-06T13:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin 0.8 on HDP 3.1.0.0 class org.apache.zeppelin.server.LdapRealm not instantiate</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Zeppelin-0-8-on-HDP-3-1-0-0-class-org-apache-zeppelin-server/m-p/282216#M209846</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/56028"&gt;@wdailey&lt;/a&gt;&amp;nbsp; Use "ldapRealm=org.apache.zeppelin.&lt;STRONG&gt;realm.LdapRealm"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Below is the template for your reference&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ldapRealm=org.apache.zeppelin.realm.LdapRealm 
ldapRealm.contextFactory.systemUsername =cn=manager,dc=charan,dc=com
ldapRealm.contextFactory.systemPassword =admin 
ldapRealm.contextFactory.authenticationMechanism=simple 
ldapRealm.contextFactory.url=ldap://test1:389 
ldapRealm.authorizationEnabled=true 
#ldapRealm.pagingSize = 20000 
ldapRealm.searchBase=
ldapRealm.userSearchBase=
ldapRealm.groupSearchBase=
ldapRealm.userObjectClass=
ldapRealm.userSearchAttributeName = uid 
ldapRealm.userSearchScope = subtree 
ldapRealm.groupSearchScope = subtree 
ldapRealm.userSearchFilter= 
ldapRealm.memberAttribute = member 
ldapRealm.memberAttributeValueTemplate=(name={0})&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 06 Nov 2019 14:20:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Zeppelin-0-8-on-HDP-3-1-0-0-class-org-apache-zeppelin-server/m-p/282216#M209846</guid>
      <dc:creator>Scharan</dc:creator>
      <dc:date>2019-11-06T14:20:44Z</dc:date>
    </item>
  </channel>
</rss>

