Package org.apereo.cas.config
Class HazelcastTicketRegistryConfiguration
- java.lang.Object
-
- org.apereo.cas.config.HazelcastTicketRegistryConfiguration
-
@Configuration("hazelcastTicketRegistryConfiguration") @EnableConfigurationProperties(org.apereo.cas.configuration.CasConfigurationProperties.class) public class HazelcastTicketRegistryConfiguration extends java.lang.ObjectSpring's Java configuration component forHazelcastInstancethat is consumed and used byHazelcastTicketRegistry.This configuration class has the smarts to choose the configuration source for the
HazelcastInstancethat it produces by either loading the native hazelcast XML config file from a resource location or it creates theHazelcastInstanceprogrammatically with a handful properties and their defaults (if not set) that it exposes to CAS deployers.- Since:
- 4.2.0
-
-
Constructor Summary
Constructors Constructor Description HazelcastTicketRegistryConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.hazelcast.core.HazelcastInstancecasTicketRegistryHazelcastInstance()org.apereo.cas.ticket.registry.TicketRegistryticketRegistry()org.apereo.cas.ticket.registry.TicketRegistryCleanerticketRegistryCleaner()
-
-
-
Method Detail
-
ticketRegistry
@Bean @RefreshScope public org.apereo.cas.ticket.registry.TicketRegistry ticketRegistry()
-
casTicketRegistryHazelcastInstance
@ConditionalOnMissingBean(name="casTicketRegistryHazelcastInstance") @Bean(destroyMethod="shutdown") public com.hazelcast.core.HazelcastInstance casTicketRegistryHazelcastInstance()
-
ticketRegistryCleaner
@Bean public org.apereo.cas.ticket.registry.TicketRegistryCleaner ticketRegistryCleaner()
-
-