Class RedisTicketRegistryProperties
java.lang.Object
org.apereo.cas.configuration.model.support.redis.BaseRedisProperties
org.apereo.cas.configuration.model.support.redis.RedisTicketRegistryProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-support-redis-ticket-registry")
public class RedisTicketRegistryProperties
extends BaseRedisProperties
Configuration properties for Redis.
- Since:
- 5.1.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apereo.cas.configuration.model.support.redis.BaseRedisProperties
BaseRedisProperties.RedisReadFromTypes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCache()
Control second-level cache settings that keeps ticket in memory.Crypto settings for the registry.Identifier for this CAS server node that tags the sender/receiver in the queue and avoid processing of inbound calls.boolean
Allows the register to detect the presence of Redis modules, in particular RediSearch, which allows the registry to create specific indexes and search Redis documents to look up tickets.setCache
(SimpleCacheProperties cache) Control second-level cache settings that keeps ticket in memory.Crypto settings for the registry.setEnableRedisSearch
(boolean enableRedisSearch) Allows the register to detect the presence of Redis modules, in particular RediSearch, which allows the registry to create specific indexes and search Redis documents to look up tickets.setQueueIdentifier
(String queueIdentifier) Identifier for this CAS server node that tags the sender/receiver in the queue and avoid processing of inbound calls.Methods inherited from class org.apereo.cas.configuration.model.support.redis.BaseRedisProperties
getCluster, getConnectTimeout, getDatabase, getHost, getPassword, getPool, getPort, getProtocolVersion, getReadFrom, getScanCount, getSentinel, getShareNativeConnections, getTimeout, getUri, getUsername, isEnabled, isUseSsl, setCluster, setConnectTimeout, setDatabase, setEnabled, setHost, setPassword, setPool, setPort, setProtocolVersion, setReadFrom, setScanCount, setSentinel, setShareNativeConnections, setTimeout, setUri, setUsername, setUseSsl
-
Constructor Details
-
RedisTicketRegistryProperties
public RedisTicketRegistryProperties()
-
-
Method Details
-
getCrypto
Crypto settings for the registry. -
getCache
Control second-level cache settings that keeps ticket in memory. -
getQueueIdentifier
Identifier for this CAS server node that tags the sender/receiver in the queue and avoid processing of inbound calls. If left blank, an identifier is generated automatically and kept in memory. -
isEnableRedisSearch
public boolean isEnableRedisSearch()Allows the register to detect the presence of Redis modules, in particular RediSearch, which allows the registry to create specific indexes and search Redis documents to look up tickets. Enabling indexing and searching capabilities may lead to significant performance improvements. -
setCrypto
public RedisTicketRegistryProperties setCrypto(EncryptionRandomizedSigningJwtCryptographyProperties crypto) Crypto settings for the registry.- Returns:
this
.
-
setCache
Control second-level cache settings that keeps ticket in memory.- Returns:
this
.
-
setQueueIdentifier
Identifier for this CAS server node that tags the sender/receiver in the queue and avoid processing of inbound calls. If left blank, an identifier is generated automatically and kept in memory.- Returns:
this
.
-
setEnableRedisSearch
Allows the register to detect the presence of Redis modules, in particular RediSearch, which allows the registry to create specific indexes and search Redis documents to look up tickets. Enabling indexing and searching capabilities may lead to significant performance improvements.- Returns:
this
.
-