Repository: ambari Updated Branches: refs/heads/branch-2.4 456d2e547 -> 1c32d73c8
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/1c32d73c Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/1c32d73c Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/1c32d73c Branch: refs/heads/branch-2.4 Commit: 1c32d73c8d1a5f9ddfdb07147576f37129dcc96c Parents: 456d2e5 Author: Pallav Kulshreshtha <[email protected]> Authored: Thu May 26 22:09:33 2016 +0530 Committer: Pallav Kulshreshtha <[email protected]> Committed: Thu May 26 22:10:44 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/1c32d73c/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]
