aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config
diff options
context:
space:
mode:
authorjcardus <asklocation.net@gmail.com>2021-07-06 03:57:40 +0100
committerjcardus <asklocation.net@gmail.com>2021-07-06 03:57:40 +0100
commit20f3d5f01fdc1088f2069869c61dd9da525a7c22 (patch)
treee5cbac7a472d4ab5b285d59f2d3db7499ef97a0b /src/main/java/org/traccar/config
parent979e44b4d4fc77785a2672e3b795fb806c067f47 (diff)
downloadtraccar-server-20f3d5f01fdc1088f2069869c61dd9da525a7c22.tar.gz
traccar-server-20f3d5f01fdc1088f2069869c61dd9da525a7c22.tar.bz2
traccar-server-20f3d5f01fdc1088f2069869c61dd9da525a7c22.zip
Persist Jetty Session in DB
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r--src/main/java/org/traccar/config/Keys.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index 167627b1d..c542b7099 100644
--- a/src/main/java/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
@@ -1199,6 +1199,13 @@ public final class Keys {
Collections.singletonList(KeyType.GLOBAL));
/**
+ * Enables persisting Jetty session to the database
+ */
+ public static final ConfigKey<Boolean> WEB_SESSION_PERSISTED = new ConfigKey<>(
+ "web.sessionPersisted",
+ Collections.singletonList(KeyType.GLOBAL));
+
+ /**
* Output logging to the standard terminal output instead of a log file.
*/
public static final ConfigKey<Boolean> LOGGER_CONSOLE = new ConfigKey<>(