Class SessionReplicationProperties
java.lang.Object
org.apereo.cas.configuration.model.support.replication.SessionReplicationProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-core-api",
automated=true)
public class SessionReplicationProperties
extends Object
implements Serializable
This is the properties for the session replication.
- Since:
- 6.1.2
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCookie setting for session replication.boolean
Indicates whether profiles and other session data, collected as part of authentication flows and protocol requests that are kept by the container session, should be replicated across the cluster using CAS and its own ticket registry.Cookie setting for session replication.setReplicateSessions
(boolean replicateSessions) Indicates whether profiles and other session data, collected as part of authentication flows and protocol requests that are kept by the container session, should be replicated across the cluster using CAS and its own ticket registry.
-
Constructor Details
-
SessionReplicationProperties
public SessionReplicationProperties()
-
-
Method Details
-
isReplicateSessions
public boolean isReplicateSessions()Indicates whether profiles and other session data, collected as part of authentication flows and protocol requests that are kept by the container session, should be replicated across the cluster using CAS and its own ticket registry. Without this option, profile data and other related pieces of information should be manually replicated via means and libraries outside of CAS. -
getCookie
Cookie setting for session replication. -
setReplicateSessions
Indicates whether profiles and other session data, collected as part of authentication flows and protocol requests that are kept by the container session, should be replicated across the cluster using CAS and its own ticket registry. Without this option, profile data and other related pieces of information should be manually replicated via means and libraries outside of CAS.- Returns:
this
.
-
setCookie
Cookie setting for session replication.- Returns:
this
.
-