[Minor] Privilege sessions should be stored in the temp path, not data
This commit is contained in:
parent
62945aeddc
commit
fa136c966c
|
@ -101,7 +101,7 @@ public class DefaultStrolchPrivilegeHandler extends StrolchComponent implements
|
||||||
|
|
||||||
// set sessions data path
|
// set sessions data path
|
||||||
if (Boolean.valueOf(parameterMap.get(PARAM_PERSIST_SESSIONS))) {
|
if (Boolean.valueOf(parameterMap.get(PARAM_PERSIST_SESSIONS))) {
|
||||||
File dataPath = runtimeConfig.getDataPath();
|
File dataPath = runtimeConfig.getTempPath();
|
||||||
String sessionsPath = new File(dataPath, "sessions.dat").getAbsolutePath();
|
String sessionsPath = new File(dataPath, "sessions.dat").getAbsolutePath();
|
||||||
parameterMap.put(PARAM_PERSIST_SESSIONS_PATH, sessionsPath);
|
parameterMap.put(PARAM_PERSIST_SESSIONS_PATH, sessionsPath);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue