summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumit Mohanty <smohanty@hortonworks.com>2017-08-21 13:07:34 -0700
committerSumit Mohanty <smohanty@hortonworks.com>2017-08-21 13:07:34 -0700
commit4124bc30d021277efbd132123a99de9df7707c6e (patch)
tree5c564a39bdb4c9dded7871f540f294bf36d00827
parentba1fa0bfbcfccc1d182ce9f5d5928757c0fc2ea5 (diff)
Revert "AMBARI-21675.Add Secure Flag to Cookie / JSESSIONID in Zeppelin(Prabhjyot Singh via Venkata Sairam)"
This reverts commit 2b50a560c34a278b67352b699e698a1cfd050406.
-rw-r--r--ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/configuration/zeppelin-shiro-ini.xml6
1 files changed, 0 insertions, 6 deletions
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 742f5bedca..971e4af1c6 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