Revert "AMBARI-21675.Add Secure Flag to Cookie / JSESSIONID in Zeppelin(Prabhjyot Singh via Venkata Sairam)"
This reverts commit 2b50a560c34a278b67352b699e698a1cfd050406. (cherry picked from commit 4124bc30d021277efbd132123a99de9df7707c6e) Change-Id: I6082d0a34e99904d5423f75ffc5c10fc0d1d0eed Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/8e7ec78a Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8e7ec78a Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8e7ec78a Branch: refs/heads/2.5-maint Commit: 8e7ec78a4a0162ce009afb1059009f4ffa7cc2f0 Parents: 5a57ad3 Author: Sumit Mohanty <[email protected]> Authored: Mon Aug 21 13:07:34 2017 -0700 Committer: Sumit Mohanty <[email protected]> Committed: Mon Aug 21 13:49:56 2017 -0700 ---------------------------------------------------------------------- .../ZEPPELIN/0.6.0.2.5/configuration/zeppelin-shiro-ini.xml | 6 ------ 1 file changed, 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/8e7ec78a/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..971e4af 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 @@ -61,12 +61,6 @@ sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager cacheManager = org.apache.shiro.cache.MemoryConstrainedCacheManager securityManager.cacheManager = $cacheManager -cookie = org.apache.shiro.web.servlet.SimpleCookie -cookie.name = JSESSIONID -cookie.secure = true -cookie.httpOnly = true -sessionManager.sessionIdCookie = $cookie - securityManager.sessionManager = $sessionManager # 86,400,000 milliseconds = 24 hour securityManager.sessionManager.globalSessionTimeout = 86400000
