Merge remote-tracking branch 'origin/jetty-9.4.x'

This commit is contained in:
Jan Bartel 2016-06-17 14:03:21 +10:00
commit 5173bdfbc0
4 changed files with 12 additions and 12 deletions

View File

@ -13,15 +13,15 @@
</New>
<!-- ===================================================================== -->
<!-- Configure a factory for InfinispanSessionStore using the -->
<!-- Configure a factory for InfinispanSessionDataStore using the -->
<!-- Infinispan DefaultCache -->
<!-- ===================================================================== -->
<Call name="addBean">
<Arg>
<New id="sessionDataStoreFactory" class="org.eclipse.jetty.server.session.InfinispanSessionStoreFactory">
<New id="sessionDataStoreFactory" class="org.eclipse.jetty.session.infinispan.InfinispanSessionDataStoreFactory">
<Set name="cache"><Ref id="cache"/></Set>
<Set name="infinispanIdleTimeoutSec"><Property name="jetty.session.infinispanIdleTimeout.seconds" default="0" /></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>

View File

@ -15,15 +15,15 @@
</New>
<!-- ===================================================================== -->
<!-- Configure a factory for InfinispanSessionStore using the -->
<!-- Infinispan DefaultCache -->
<!-- Configure a factory for InfinispanSessionDataStore using an -->
<!-- Infinispan remote cache -->
<!-- ===================================================================== -->
<Call name="addBean">
<Arg>
<New id="sessionDataStoreFactory" class="org.eclipse.jetty.server.session.InfinispanSessionStoreFactory">
<New id="sessionDataStoreFactory" class="org.eclipse.jetty.session.infinispan.InfinispanSessionDataStoreFactory">
<Set name="cache"><Ref id="remoteCache"/></Set>
<Set name="infinispanIdleTimeoutSec"><Property name="jetty.session.infinispanIdleTimeout.seconds" default="0" /></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>

View File

@ -1,11 +1,11 @@
[description]
Enables session data store in a remote Infinispan cache
Enables session data store in an Infinispan cache
[provides]
session-store
[depend]
session
sessions
sessions/infinispan/${cache-type}
[files]

View File

@ -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>