Fix naming in session-store-mongo xml file.

This commit is contained in:
Jan Bartel 2016-06-17 14:02:32 +10:00
parent 673f7de65b
commit 79cd9add9f
1 changed files with 3 additions and 3 deletions

View File

@ -5,14 +5,14 @@
<!-- ===================================================================== --> <!-- ===================================================================== -->
<!-- Configure a factory for MongoSessionStores --> <!-- Configure a factory for MongoSessionDataStores -->
<!-- ===================================================================== --> <!-- ===================================================================== -->
<Call name="addBean"> <Call name="addBean">
<Arg> <Arg>
<New id="sessionDataStoreFactory" class="org.eclipse.jetty.server.session.MongoSessionStoreFactory"> <New id="sessionDataStoreFactory" class="org.eclipse.jetty.nosql.mongodb.MongoSessionDataStoreFactory">
<Set name="dbName"><Property name="jetty.session.dbName" default="HttpSessions" /></Set> <Set name="dbName"><Property name="jetty.session.dbName" default="HttpSessions" /></Set>
<Set name="collectionName"><Property name="jetty.session.collectionName" default="jettySessions" /></Set> <Set name="collectionName"><Property name="jetty.session.collectionName" default="jettySessions" /></Set>
<Set name="gracePeriod"><Property name="jetty.session.gracePeriod.seconds" default="3600" /></Set> <Set name="gracePeriodSec"><Property name="jetty.session.gracePeriod.seconds" default="3600" /></Set>
</New> </New>
</Arg> </Arg>
</Call> </Call>