Class WebflowServerSessionsProperties
java.lang.Object
org.apereo.cas.configuration.model.core.web.flow.WebflowServerSessionsProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-core-webflow")
public class WebflowServerSessionsProperties
extends Object
implements Serializable
This is
WebflowServerSessionsProperties
.- Since:
- 5.2.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionIf sessions are to be replicated via Hazelcast, controls and defines how state should be replicated.Sets the time period that can elapse before a timeout occurs on an attempt to acquire a conversation lock.int
Using the maxConversations property, you can limit the number of concurrently active conversations allowed in a single session.boolean
Whether or not the snapshots should be compressed.setCompress
(boolean compress) Whether or not the snapshots should be compressed.setHazelcast
(BaseHazelcastProperties hazelcast) If sessions are to be replicated via Hazelcast, controls and defines how state should be replicated.setLockTimeout
(String lockTimeout) Sets the time period that can elapse before a timeout occurs on an attempt to acquire a conversation lock.setMaxConversations
(int maxConversations) Using the maxConversations property, you can limit the number of concurrently active conversations allowed in a single session.
-
Constructor Details
-
WebflowServerSessionsProperties
public WebflowServerSessionsProperties()
-
-
Method Details
-
getLockTimeout
Sets the time period that can elapse before a timeout occurs on an attempt to acquire a conversation lock. The default is 30 seconds. Only relevant if session storage is done on the server. -
getMaxConversations
public int getMaxConversations()Using the maxConversations property, you can limit the number of concurrently active conversations allowed in a single session. If the maximum is exceeded, the conversation manager will automatically end the oldest conversation. The default is 5, which should be fine for most situations. Set it to -1 for no limit. Setting maxConversations to 1 allows easy resource cleanup in situations where there should only be one active conversation per session. Only relevant if session storage is done on the server. -
isCompress
public boolean isCompress()Whether or not the snapshots should be compressed. Only relevant if session storage is done on the server. -
getHazelcast
If sessions are to be replicated via Hazelcast, controls and defines how state should be replicated. Only relevant if session storage is done on the server. -
setLockTimeout
Sets the time period that can elapse before a timeout occurs on an attempt to acquire a conversation lock. The default is 30 seconds. Only relevant if session storage is done on the server.- Returns:
this
.
-
setMaxConversations
Using the maxConversations property, you can limit the number of concurrently active conversations allowed in a single session. If the maximum is exceeded, the conversation manager will automatically end the oldest conversation. The default is 5, which should be fine for most situations. Set it to -1 for no limit. Setting maxConversations to 1 allows easy resource cleanup in situations where there should only be one active conversation per session. Only relevant if session storage is done on the server.- Returns:
this
.
-
setCompress
Whether or not the snapshots should be compressed. Only relevant if session storage is done on the server.- Returns:
this
.
-
setHazelcast
If sessions are to be replicated via Hazelcast, controls and defines how state should be replicated. Only relevant if session storage is done on the server.- Returns:
this
.
-