Class CasCaptchaAutoConfiguration

java.lang.Object
org.apereo.cas.config.CasCaptchaAutoConfiguration

@EnableConfigurationProperties(org.apereo.cas.configuration.CasConfigurationProperties.class) @ConditionalOnFeatureEnabled(feature=CAPTCHA) @AutoConfiguration public class CasCaptchaAutoConfiguration extends Object
Since:
5.0.0
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apereo.cas.web.CaptchaActivationStrategy
    captchaActivationStrategy(org.springframework.context.ConfigurableApplicationContext applicationContext, org.apereo.cas.services.ServicesManager servicesManager)
     
    org.apereo.cas.web.flow.CasWebflowExecutionPlanConfigurer
    captchaCasWebflowExecutionPlanConfigurer(org.springframework.context.ConfigurableApplicationContext applicationContext, org.apereo.cas.web.flow.CasWebflowConfigurer captchaWebflowConfigurer)
     
    org.apereo.cas.web.CaptchaValidator
    captchaValidator(org.springframework.context.ConfigurableApplicationContext applicationContext, org.apereo.cas.configuration.CasConfigurationProperties casProperties)
     
    org.apereo.cas.web.flow.CasWebflowConfigurer
    captchaWebflowConfigurer(org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.springframework.context.ConfigurableApplicationContext applicationContext, org.springframework.webflow.definition.registry.FlowDefinitionRegistry loginFlowDefinitionRegistry, org.springframework.webflow.engine.builder.support.FlowBuilderServices flowBuilderServices)
     
    org.springframework.webflow.execution.Action
    initializeCaptchaAction(org.springframework.context.ConfigurableApplicationContext applicationContext, org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.apereo.cas.web.CaptchaActivationStrategy captchaActivationStrategy)
     
    org.springframework.webflow.execution.Action
    validateCaptchaAction(org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.apereo.cas.web.CaptchaActivationStrategy captchaActivationStrategy, org.apereo.cas.web.CaptchaValidator captchaValidator, org.springframework.context.ConfigurableApplicationContext applicationContext)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CasCaptchaAutoConfiguration

      public CasCaptchaAutoConfiguration()
  • Method Details

    • captchaWebflowConfigurer

      @ConditionalOnMissingBean(name="captchaWebflowConfigurer") @Bean @RefreshScope(proxyMode=DEFAULT) public org.apereo.cas.web.flow.CasWebflowConfigurer captchaWebflowConfigurer(org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.springframework.context.ConfigurableApplicationContext applicationContext, @Qualifier("loginFlowRegistry") org.springframework.webflow.definition.registry.FlowDefinitionRegistry loginFlowDefinitionRegistry, @Qualifier("flowBuilderServices") org.springframework.webflow.engine.builder.support.FlowBuilderServices flowBuilderServices) throws Exception
      Throws:
      Exception
    • captchaValidator

      @RefreshScope(proxyMode=DEFAULT) @Bean @ConditionalOnMissingBean(name="captchaValidator") public org.apereo.cas.web.CaptchaValidator captchaValidator(org.springframework.context.ConfigurableApplicationContext applicationContext, org.apereo.cas.configuration.CasConfigurationProperties casProperties) throws Exception
      Throws:
      Exception
    • validateCaptchaAction

      @RefreshScope(proxyMode=DEFAULT) @Bean @ConditionalOnMissingBean(name="validateCaptchaAction") public org.springframework.webflow.execution.Action validateCaptchaAction(org.apereo.cas.configuration.CasConfigurationProperties casProperties, @Qualifier("captchaActivationStrategy") org.apereo.cas.web.CaptchaActivationStrategy captchaActivationStrategy, @Qualifier("captchaValidator") org.apereo.cas.web.CaptchaValidator captchaValidator, org.springframework.context.ConfigurableApplicationContext applicationContext) throws Exception
      Throws:
      Exception
    • captchaActivationStrategy

      @Bean @ConditionalOnMissingBean(name="captchaActivationStrategy") @RefreshScope(proxyMode=DEFAULT) public org.apereo.cas.web.CaptchaActivationStrategy captchaActivationStrategy(org.springframework.context.ConfigurableApplicationContext applicationContext, @Qualifier("servicesManager") org.apereo.cas.services.ServicesManager servicesManager) throws Exception
      Throws:
      Exception
    • initializeCaptchaAction

      @RefreshScope(proxyMode=DEFAULT) @Bean @ConditionalOnMissingBean(name="initializeCaptchaAction") public org.springframework.webflow.execution.Action initializeCaptchaAction(org.springframework.context.ConfigurableApplicationContext applicationContext, org.apereo.cas.configuration.CasConfigurationProperties casProperties, @Qualifier("captchaActivationStrategy") org.apereo.cas.web.CaptchaActivationStrategy captchaActivationStrategy) throws Exception
      Throws:
      Exception
    • captchaCasWebflowExecutionPlanConfigurer

      @Bean @RefreshScope(proxyMode=DEFAULT) @ConditionalOnMissingBean(name="captchaCasWebflowExecutionPlanConfigurer") public org.apereo.cas.web.flow.CasWebflowExecutionPlanConfigurer captchaCasWebflowExecutionPlanConfigurer(org.springframework.context.ConfigurableApplicationContext applicationContext, @Qualifier("captchaWebflowConfigurer") org.apereo.cas.web.flow.CasWebflowConfigurer captchaWebflowConfigurer) throws Exception
      Throws:
      Exception