aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/config
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-07-06 14:03:00 -0700
committerGitHub <noreply@github.com>2021-07-06 14:03:00 -0700
commit6b4a699fd8098a37358ace28e1c2142321ab67b0 (patch)
tree6d88b62a990cf64f0cff718514b0e93e921374eb /src/main/java/org/traccar/config
parent827a781e49c74e6573a407119fd5519050b091e3 (diff)
parent1ec2196ddcc778cb3d4ef220a18f97165f4a175a (diff)
downloadtrackermap-server-6b4a699fd8098a37358ace28e1c2142321ab67b0.tar.gz
trackermap-server-6b4a699fd8098a37358ace28e1c2142321ab67b0.tar.bz2
trackermap-server-6b4a699fd8098a37358ace28e1c2142321ab67b0.zip
Merge pull request #4712 from jcardus/patch-2
Persist Session in Database
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..ef0edbac3 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_PERSIST_SESSION = new ConfigKey<>(
+ "web.persistSession",
+ 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<>(