mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 20:12:14 +00:00
With servlet 3.0 this is a better place to set this config
This commit is contained in:
1 parent
96b2b2a889
commit
f286bc27bd
2 files changed
+7
-4
No files matched your search
@@ -117,10 +117,6 @@ public class WebAppMain implements ServletContextListener {
|
||||
|
||||
installLogger();
|
||||
|
||||
// Set the session cookie as HTTP only.
|
||||
// See https://www.owasp.org/index.php/HttpOnly for the discussion of this topic in OWASP
|
||||
context.getSessionCookieConfig().setHttpOnly(true);
|
||||
|
||||
final FileAndDescription describedHomeDir = getHomeDir(event);
|
||||
home = describedHomeDir.file.getAbsoluteFile();
|
||||
home.mkdirs();
|
||||
|
||||
Reference in new issue
Block a user