Class CaptchaAutoConfiguration
java.lang.Object
cn.herodotus.engine.captcha.autoconfigure.CaptchaAutoConfiguration
@AutoConfiguration
@EnableConfigurationProperties(cn.herodotus.engine.captcha.core.properties.CaptchaProperties.class)
public class CaptchaAutoConfiguration
extends Object
Description: 验证码自动注入
- Author:
- : gengwei.zheng
- Date:
- : 2022/1/18 21:12
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncn.herodotus.engine.assistant.definition.function.ErrorCodeMapperBuilderCustomizercn.herodotus.engine.captcha.core.processor.CaptchaRendererFactoryvoidcn.herodotus.engine.captcha.core.provider.ResourceProviderresourceProvider(cn.herodotus.engine.captcha.core.properties.CaptchaProperties captchaProperties)
-
Constructor Details
-
CaptchaAutoConfiguration
public CaptchaAutoConfiguration()
-
-
Method Details
-
postConstruct
@PostConstruct public void postConstruct() -
resourceProvider
@Bean @ConditionalOnMissingBean public cn.herodotus.engine.captcha.core.provider.ResourceProvider resourceProvider(cn.herodotus.engine.captcha.core.properties.CaptchaProperties captchaProperties) -
captchaRendererFactory
@Bean @ConditionalOnMissingBean public cn.herodotus.engine.captcha.core.processor.CaptchaRendererFactory captchaRendererFactory() -
captchaErrorCodeMapperBuilderCustomizer
@Bean public cn.herodotus.engine.assistant.definition.function.ErrorCodeMapperBuilderCustomizer captchaErrorCodeMapperBuilderCustomizer()
-