Package org.apereo.cas.config
Class CasHazelcastThrottlingAutoConfiguration
java.lang.Object
org.apereo.cas.config.CasHazelcastThrottlingAutoConfiguration
@EnableConfigurationProperties(org.apereo.cas.configuration.CasConfigurationProperties.class)
@ConditionalOnFeatureEnabled(feature=Throttling,
module="hazelcast")
@AutoConfiguration
public class CasHazelcastThrottlingAutoConfiguration
extends Object
Configures a Hazelcast IMap that is used by the InMemory throttling interceptors to store
failed login attempts.
- Since:
- 5.3.4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apereo.cas.web.support.ThrottledSubmissionsStore<org.apereo.cas.web.support.ThrottledSubmission> throttleSubmissionStore(com.hazelcast.core.HazelcastInstance casTicketRegistryHazelcastInstance, org.apereo.cas.configuration.CasConfigurationProperties casProperties)
-
Constructor Details
-
CasHazelcastThrottlingAutoConfiguration
public CasHazelcastThrottlingAutoConfiguration()
-
-
Method Details
-
throttleSubmissionStore
@Bean @RefreshScope(proxyMode=DEFAULT) @ConditionalOnMissingBean(name="hazelcastThrottleSubmissionStore") public org.apereo.cas.web.support.ThrottledSubmissionsStore<org.apereo.cas.web.support.ThrottledSubmission> throttleSubmissionStore(@Qualifier("casTicketRegistryHazelcastInstance") com.hazelcast.core.HazelcastInstance casTicketRegistryHazelcastInstance, org.apereo.cas.configuration.CasConfigurationProperties casProperties)
-