Skip to end of metadata
Go to start of metadata
Table of Contents

New CAS documentation site

Icon

CAS documentation has moved over to apereo.github.io/cas, starting with CAS version 4.x. The wiki will no longer be maintained. For the most recent version of the documentation, please refer to the aforementioned link.

Default TicketRegistry

The DefaultTicketRegistry is included automatically in the CAS server and is enabled by default. There are not that many configuration options for the Registry itself, as it relies on the defaults of the ConcurrentHashMap, which are sufficient for the majority of the people.

However, if one wants to tweak their registry for optimal performance, the DefaultTicketRegistry provides a few options. There is one additional constructor that takes the following arguments:

  • initialCapacity - the initial capacity. The implementation performs internal sizing to accommodate this many elements.
  • loadFactor - the load factor threshold, used to control resizing. Resizing may be performed when the average number of elements per bin exceeds this threshold.
  • concurrencyLevel - the estimated number of concurrently updating threads. The implementation performs internal sizing to try to accommodate this many threads.

It can be configured like

  • No labels