Repository: ambari Updated Branches: refs/heads/branch-2.6 a21dc6d89 -> 919f2e16b
AMBARI-21802. Zeppelin's secure cookie should only be set when zeppelin is running in HTTPS mode.(Prabhjyot Singh via gauravn7) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/919f2e16 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/919f2e16 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/919f2e16 Branch: refs/heads/branch-2.6 Commit: 919f2e16b2e8d8b20a2172985793869613e23866 Parents: a21dc6d Author: Gaurav Nagar <[email protected]> Authored: Fri Aug 25 12:23:19 2017 +0530 Committer: Gaurav Nagar <[email protected]> Committed: Fri Aug 25 12:23:19 2017 +0530 ---------------------------------------------------------------------- .../ZEPPELIN/0.6.0.2.5/configuration/zeppelin-shiro-ini.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/919f2e16/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/configuration/zeppelin-shiro-ini.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/configuration/zeppelin-shiro-ini.xml b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/configuration/zeppelin-shiro-ini.xml index 742f5be..b46d9ff 100644 --- a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/configuration/zeppelin-shiro-ini.xml +++ b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/configuration/zeppelin-shiro-ini.xml @@ -63,7 +63,8 @@ securityManager.cacheManager = $cacheManager cookie = org.apache.shiro.web.servlet.SimpleCookie cookie.name = JSESSIONID -cookie.secure = true +#Uncomment the line below when running Zeppelin-Server in HTTPS mode +#cookie.secure = true cookie.httpOnly = true sessionManager.sessionIdCookie = $cookie
