Redis Ticket Registry

Redis integration is enabled by including the following dependency in the WAR overlay:


This registry stores tickets in one or more Redis instances. The spring data redis library used by this component presents Redis as a key/value store that accepts String keys and CAS ticket objects as values. The key is started with CAS_TICKET:.

The Redis ticket registry supports Redis Sentinel, which provides high availability for Redis. In practical terms this means that using Sentinel you can create a Redis deployment that resists without human intervention to certain kind of failures. Redis Sentinel also provides other collateral tasks such as monitoring, notifications and acts as a configuration provider for clients.


To see the relevant list of CAS properties, please review this guide.

Eviction Policy

Redis manages the internal eviction policy of cached objects via its time-alive settings. The timeout is the ticket’s timeToLive value. So you need to ensure the cache is alive long enough to support the individual expiration policy of tickets, and let CAS clean the tickets as part of its own cleaner if necessary.