Fix naming in session-store-mongo xml file.
This commit is contained in:
parent
673f7de65b
commit
79cd9add9f
|
@ -5,14 +5,14 @@
|
|||
|
||||
|
||||
<!-- ===================================================================== -->
|
||||
<!-- Configure a factory for MongoSessionStores -->
|
||||
<!-- Configure a factory for MongoSessionDataStores -->
|
||||
<!-- ===================================================================== -->
|
||||
<Call name="addBean">
|
||||
<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="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>
|
||||
</Arg>
|
||||
</Call>
|
||||
|
|
Loading…
Reference in New Issue