public class CaptchaProviderMemoryImpl extends Object implements CaptchaProvider<Captcha>
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
logger |
| Constructor and Description |
|---|
CaptchaProviderMemoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanExpiredCaptcha() |
Captcha |
findCaptcha(String id) |
void |
revokeCaptcha(Captcha captcha) |
void |
saveCaptcha(Captcha captcha) |
public void saveCaptcha(Captcha captcha)
saveCaptcha in interface CaptchaProvider<Captcha>public Captcha findCaptcha(String id)
findCaptcha in interface CaptchaProvider<Captcha>public void revokeCaptcha(Captcha captcha)
revokeCaptcha in interface CaptchaProvider<Captcha>@Scheduled(cron="0 0/10 * * * ?") public void cleanExpiredCaptcha()
Copyright © 2018. All rights reserved.