Class CasCaptchaConfiguration

  • All Implemented Interfaces:
    org.apereo.cas.web.flow.CasWebflowExecutionPlanConfigurer

    @Configuration("casCaptchaConfiguration")
    @EnableConfigurationProperties(org.apereo.cas.configuration.CasConfigurationProperties.class)
    @ConditionalOnProperty(prefix="cas.googleRecaptcha",
                           name="enabled",
                           havingValue="true",
                           matchIfMissing=true)
    public class CasCaptchaConfiguration
    extends java.lang.Object
    implements org.apereo.cas.web.flow.CasWebflowExecutionPlanConfigurer
    Since:
    5.0.0
    • Constructor Detail

      • CasCaptchaConfiguration

        public CasCaptchaConfiguration()
    • Method Detail

      • captchaWebflowConfigurer

        @ConditionalOnMissingBean(name="captchaWebflowConfigurer")
        @Bean
        @DependsOn("defaultWebflowConfigurer")
        public org.apereo.cas.web.flow.CasWebflowConfigurer captchaWebflowConfigurer()
      • validateCaptchaAction

        @RefreshScope
        @Bean
        public org.springframework.webflow.execution.Action validateCaptchaAction()
      • configureWebflowExecutionPlan

        public void configureWebflowExecutionPlan​(org.apereo.cas.web.flow.CasWebflowExecutionPlan plan)
        Specified by:
        configureWebflowExecutionPlan in interface org.apereo.cas.web.flow.CasWebflowExecutionPlanConfigurer