Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Celebrating as our community reaches 100,000 members! Thank you!
Labels (1)
avatar
Contributor

[users]

# To use a different strategy (LDAP / Database / ...) check the shiro doc at http://shiro.apache.org/configuration.html#Configuration-INISections

admin = admin

[main]

ldapRealm = org.apache.zeppelin.server.LdapGroupRealm

ldapRealm.contextFactory.environment[ldap.searchBase] = dc=mgmt,dc=example,dc=net

ldapRealm.contextFactory.url = ldaps://me.abc.example.net:636

ldapRealm.userDnTemplate = uid={0},cn=group,dc=mgmt,dc=example,dc=net

ldapRealm.contextFactory.authenticationMechanism = SIMPLE

ldapRealm.contextFactory.systemUsername=uid=example,ou=example,dc=mgmt,dc=example,dc=net

ldapRealm.contextFactory.systemPassword=example

sessionManager=org.apache.shiro.web.session.mgt.DefaultWebSessionManager

securityManager.sessionManager = $sessionManager

securityManager.sessionManager.globalSessionTimeout = 86400000 shiro.loginUrl = /api/login

[urls]

/** = authc

1,241 Views
0 Kudos