-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
session-store.xml
39 lines (35 loc) · 2.22 KB
/
session-store.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://www.eclipse.org/jetty/configure_10_0.dtd">
<Configure id="Server" class="org.eclipse.jetty.server.Server">
<!-- ===================================================================== -->
<!-- Configure a factory for GCloudSessionDataStores -->
<!-- ===================================================================== -->
<Call name="addBean">
<Arg>
<New id="sessionDataStoreFactory" class="org.eclipse.jetty.gcloud.session.GCloudSessionDataStoreFactory">
<Set name="gracePeriodSec" property="jetty.session.gracePeriod.seconds"/>
<Set name="savePeriodSec" property="jetty.session.savePeriod.seconds"/>
<Set name="maxRetries" property="jetty.session.gcloud.maxRetries"/>
<Set name="backoffMs" property="jetty.session.gcloud.backoffMs"/>
<Set name="namespace" property="jetty.session.gcloud.namespace"/>
<Set name="entityDataModel">
<New class="org.eclipse.jetty.gcloud.session.GCloudSessionDataStore$EntityDataModel">
<Set name="kind" property="jetty.session.gcloud.model.kind"/>
<Set name="id" property="jetty.session.gcloud.model.id"/>
<Set name="contextPath" property="jetty.session.gcloud.model.contextPath"/>
<Set name="vhost" property="jetty.session.gcloud.model.vhost"/>
<Set name="accessed" property="jetty.session.gcloud.model.accessed"/>
<Set name="lastAccessed" property="jetty.session.gcloud.model.lastAccessed"/>
<Set name="createTime" property="jetty.session.gcloud.model.createTime"/>
<Set name="cookieSetTime" property="jetty.session.gcloud.model.cookieSetTime"/>
<Set name="lastNode" property="jetty.session.gcloud.model.lastNode"/>
<Set name="lastSaved" property="jetty.session.gcloud.model.lastSaved"/>
<Set name="expiry" property="jetty.session.gcloud.model.expiry"/>
<Set name="maxInactive" property="jetty.session.gcloud.model.maxInactive"/>
<Set name="attributes" property="jetty.session.gcloud.model.attributes"/>
</New>
</Set>
</New>
</Arg>
</Call>
</Configure>