Debian Codegraph @

jetty-nosql/src/main/config/etc/sessions/mongo/session-store-by-address.xml

raw
1 <?xml version="1.0"?><!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://jetty.org/configure_9_3.dtd">
2
3 <Configure id="Server" class="org.eclipse.jetty.server.Server">
4
5
6 <!-- ===================================================================== -->
7 <!-- Configure a factory for MongoSessionDataStores -->
8 <!-- ===================================================================== -->
9 <Call name="addBean">
10 <Arg>
11 <New id="sessionDataStoreFactory" class="org.eclipse.jetty.nosql.mongodb.MongoSessionDataStoreFactory">
12 <Set name="dbName"><Property name="jetty.session.mongo.dbName" default="HttpSessions" /></Set>
13 <Set name="collectionName"><Property name="jetty.session.mongo.collectionName" default="jettySessions" /></Set>
14 <Set name="gracePeriodSec"><Property name="jetty.session.gracePeriod.seconds" default="3600" /></Set>
15 <Set name="savePeriodSec"><Property name="jetty.session.savePeriod.seconds" default="0" /></Set>
16 <Set name="host"><Property name="jetty.session.mongo.host" default="localhost"/></Set>
17 <Set name="port"><Property name="jetty.session.mongo.port" default="27017"/></Set>
18 </New>
19 </Arg>
20 </Call>
21
22 </Configure>