Repository: ambari Updated Branches: refs/heads/trunk a7a56bd7f -> 50f832aa3
AMBARI-16843. Auto logout zeppelin server in case of session inactivity. (Renjith Kamath via pallavkul) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/50f832aa Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/50f832aa Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/50f832aa Branch: refs/heads/trunk Commit: 50f832aa3f4f10352f653d622c2a9910d65ad283 Parents: a7a56bd Author: Pallav Kulshreshtha <[email protected]> Authored: Thu May 26 22:09:33 2016 +0530 Committer: Pallav Kulshreshtha <[email protected]> Committed: Thu May 26 22:09:33 2016 +0530 ---------------------------------------------------------------------- .../ZEPPELIN/0.6.0.2.5/configuration/zeppelin-env.xml | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/50f832aa/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/configuration/zeppelin-env.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/configuration/zeppelin-env.xml b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/configuration/zeppelin-env.xml index 1da9bde..591cc72 100644 --- a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/configuration/zeppelin-env.xml +++ b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/configuration/zeppelin-env.xml @@ -158,6 +158,10 @@ export SPARK_YARN_USER_ENV="PYTHONPATH=${PYTHONPATH}" #ldapRealm.userDnTemplate = uid={0},cn=users,cn=accounts,dc=hortonworks,dc=com #ldapRealm.contextFactory.url = ldap://ldaphost:389 #ldapRealm.contextFactory.authenticationMechanism = SIMPLE +sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager +securityManager.sessionManager = $sessionManager +# 86,400,000 milliseconds = 24 hour +securityManager.sessionManager.globalSessionTimeout = 86400000 shiro.loginUrl = /api/login [urls]
