@AutoConfiguration
@ConditionalOnProperty(prefix="mica.captcha",
name="enabled",
havingValue="true",
matchIfMissing=true)
@EnableConfigurationProperties(value=MicaCaptchaProperties.class)
public class MicaCaptchaAutoConfiguration
extends Object
| Constructor and Description |
|---|
MicaCaptchaAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
Captcha |
imageCaptcha(MicaCaptchaProperties properties) |
ICaptchaService |
imageCaptchaService(MicaCaptchaProperties properties,
ICaptchaCache captchaCache,
Captcha captcha) |
@Bean @ConditionalOnMissingBean public Captcha imageCaptcha(MicaCaptchaProperties properties)
@Bean @ConditionalOnMissingBean public ICaptchaService imageCaptchaService(MicaCaptchaProperties properties, ICaptchaCache captchaCache, Captcha captcha)
Copyright © 2024. All rights reserved.