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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apereo.cas.configuration.features.CasFeatureModule
CasFeatureModule.FeatureCatalog
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCrypto settings for the registry.Indicates the lock duration when one is about to be acquired by the cleaner.jakarta.persistence.LockModeType
Ticket locking type.boolean
Whether managing tickets via JPA is enabled.Crypto settings for the registry.setEnabled
(boolean enabled) Whether managing tickets via JPA is enabled.setJpaLockingTimeout
(String jpaLockingTimeout) Indicates the lock duration when one is about to be acquired by the cleaner.setTicketLockType
(jakarta.persistence.LockModeType ticketLockType) Ticket locking type.Methods inherited from class org.apereo.cas.configuration.model.support.jpa.AbstractJpaProperties
getBatchSize, getConnectionTimeout, getDataSourceName, getDdlAuto, getDefaultCatalog, getDefaultSchema, getDialect, getDriverClass, getFailFastTimeout, getFetchSize, getHealthQuery, getIdleTimeout, getIsolationLevelName, getLeakThreshold, getPassword, getPhysicalNamingStrategyClassName, getPool, getPropagationBehaviorName, getProperties, getUrl, getUser, isAutocommit, isGenerateStatistics, isIsolateInternalQueries, isReadOnly, setAutocommit, setBatchSize, setConnectionTimeout, setDataSourceName, setDdlAuto, setDefaultCatalog, setDefaultSchema, setDialect, setDriverClass, setFailFastTimeout, setFetchSize, setGenerateStatistics, setHealthQuery, setIdleTimeout, setIsolateInternalQueries, setIsolationLevelName, setLeakThreshold, setPassword, setPhysicalNamingStrategyClassName, setPool, setPropagationBehaviorName, setProperties, setReadOnly, setUrl, setUser
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apereo.cas.configuration.features.CasFeatureModule
isDefined, isUndefined
-
Field Details
-
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 areREAD,WRITE,OPTIMISTIC,OPTIMISTIC_FORCE_INCREMENT,PESSIMISTIC_READ, PESSIMISTIC_WRITE,PESSIMISTIC_FORCE_INCREMENT,NONE
. -
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 areREAD,WRITE,OPTIMISTIC,OPTIMISTIC_FORCE_INCREMENT,PESSIMISTIC_READ, PESSIMISTIC_WRITE,PESSIMISTIC_FORCE_INCREMENT,NONE
.- Returns:
this
.
-
setJpaLockingTimeout
Indicates the lock duration when one is about to be acquired by the cleaner.- Returns:
this
.
-
setCrypto
public JpaTicketRegistryProperties setCrypto(EncryptionRandomizedSigningJwtCryptographyProperties crypto) Crypto settings for the registry.- Returns:
this
.
-
setEnabled
Whether managing tickets via JPA is enabled.- Returns:
this
.
-