Class JpaTicketRegistryProperties

java.lang.Object
org.apereo.cas.configuration.model.support.jpa.AbstractJpaProperties
org.apereo.cas.configuration.model.support.jpa.ticketregistry.JpaTicketRegistryProperties
All Implemented Interfaces:
Serializable, CasFeatureModule

@RequiresModule(name="cas-server-support-jpa-ticket-registry") public class JpaTicketRegistryProperties extends AbstractJpaProperties
Common properties for jpa ticket reg.
Since:
5.0.0
See Also:
  • Field Details

    • DEFAULT_LOCK_TIMEOUT

      public static final String DEFAULT_LOCK_TIMEOUT
      Default lock timeout is 1 hour.
      See Also:
  • Constructor Details

    • JpaTicketRegistryProperties

      public JpaTicketRegistryProperties()
  • Method Details

    • getTicketLockType

      public jakarta.persistence.LockModeType getTicketLockType()
      Ticket locking type. Acceptable values are READ,WRITE,OPTIMISTIC,OPTIMISTIC_FORCE_INCREMENT,PESSIMISTIC_READ, PESSIMISTIC_WRITE,PESSIMISTIC_FORCE_INCREMENT,NONE.
    • getJpaLockingTimeout

      public String getJpaLockingTimeout()
      Indicates the lock duration when one is about to be acquired by the cleaner.
    • getCrypto

      Crypto settings for the registry.
    • isEnabled

      public boolean isEnabled()
      Whether managing tickets via JPA is enabled.
    • setTicketLockType

      public JpaTicketRegistryProperties setTicketLockType(jakarta.persistence.LockModeType ticketLockType)
      Ticket locking type. Acceptable values are READ,WRITE,OPTIMISTIC,OPTIMISTIC_FORCE_INCREMENT,PESSIMISTIC_READ, PESSIMISTIC_WRITE,PESSIMISTIC_FORCE_INCREMENT,NONE.
      Returns:
      this.
    • setJpaLockingTimeout

      public JpaTicketRegistryProperties setJpaLockingTimeout(String jpaLockingTimeout)
      Indicates the lock duration when one is about to be acquired by the cleaner.
      Returns:
      this.
    • setCrypto

      Crypto settings for the registry.
      Returns:
      this.
    • setEnabled

      public JpaTicketRegistryProperties setEnabled(boolean enabled)
      Whether managing tickets via JPA is enabled.
      Returns:
      this.