Skip to main content
mcapavan
Gold ⭐️
Gold ⭐️
Oct 22, 2018 10:16 PM UTC

LDAP enable for Activity Explorer Dashboard

  • Oct 5, 2026 9:04 AM UTC
  • 0 replies
  • 1193 views
  • Translate All

Problem: How to enable LDAP for users to view Activity Explorer Dashboard. We may have shiro.ini enabled for LDAP for Zepplin but it is different for Activity Explorer Dashboard.

Solution: On SmartSense Activity Explorer node, under [main] section

cd /etc/smartsense-activity/conf/
vi shiro.ini

[main]
sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager
securityManager.sessionManager = $sessionManager
securityManager.sessionManager.globalSessionTimeout = 86400000
shiro.loginUrl = /api/login
ldapRealm = org.apache.zeppelin.realm.LdapRealm
ldapRealm.contextFactory.systemUsername = <fill your details>
ldapRealm.contextFactory.systemPassword = <fill your details>
ldapRealm.contextFactory.authenticationMechanism = SIMPLE
ldapRealm.contextFactory.url = <fill your details>
ldapRealm.pagingSize = 200
ldapRealm.authorizationEnabled = true
ldapRealm.searchBase = <fill your details>
ldapRealm.memberAttributeValueTemplate = <fill your details>
ldapRealm.userSearchAttributeName = <fill your details>
ldapRealm.userLowerCase = true