@Configuration @ConditionalOnClass(value=com.google.code.kaptcha.impl.DefaultKaptcha.class) @EnableConfigurationProperties(value=KaptchaProperties.class) public class KaptchaAutoConfiguration extends Object
| 构造器和说明 |
|---|
KaptchaAutoConfiguration(KaptchaProperties properties) |
public KaptchaAutoConfiguration(KaptchaProperties properties)
@Bean @ConditionalOnMissingBean public com.google.code.kaptcha.impl.DefaultKaptcha defaultKaptcha()
@Bean @ConditionalOnMissingBean public Kaptcha kaptchaRender(com.google.code.kaptcha.impl.DefaultKaptcha defaultKaptcha)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.