Regularize property names for file session store.
This commit is contained in:
Jan Bartel 2016-09-14 16:05:58 +10:00
parent d531e8f07e
commit beecdd0a0d
2 changed files with 4 additions and 4 deletions

View File

@ -10,8 +10,8 @@
<Call name="addBean">
<Arg>
<New id="sessionDataStoreFactory" class="org.eclipse.jetty.server.session.FileSessionDataStoreFactory">
<Set name="deleteUnrestorableFiles"><Property name="jetty.session.deleteUnrestorableFiles" default="false" /></Set>
<Set name="storeDir"><Property name="jetty.session.storeDir"/></Set>
<Set name="deleteUnrestorableFiles"><Property name="jetty.session.file.deleteUnrestorableFiles" default="false" /></Set>
<Set name="storeDir"><Property name="jetty.session.file.storeDir"/></Set>
</New>
</Arg>
</Call>

View File

@ -14,6 +14,6 @@ etc/sessions/file/session-store.xml
sessions/
[ini-template]
jetty.session.storeDir=${jetty.base}/sessions
#jetty.session.deleteUnrestorableFiles=false
jetty.session.file.storeDir=${jetty.base}/sessions
#jetty.session.file.deleteUnrestorableFiles=false