public class SimpleBufferedManageableCaptchaService
extends com.octo.captcha.service.multitype.GenericManageableCaptchaService
Constructor and Description |
---|
SimpleBufferedManageableCaptchaService(com.octo.captcha.engine.CaptchaEngine engine,
com.octo.captcha.engine.bufferedengine.SimpleBufferedEngineContainer container,
int minGuarantedStorageDelayInSeconds,
int maxCaptchaStoreSize) |
Modifier and Type | Method and Description |
---|---|
protected com.octo.captcha.Captcha |
generateAndStoreCaptcha(Locale locale,
String strID) |
com.octo.captcha.engine.bufferedengine.SimpleBufferedEngineContainer |
getContainer() |
void |
setContainer(com.octo.captcha.engine.bufferedengine.SimpleBufferedEngineContainer container) |
getChallengeClone, getImageChallengeForID, getImageChallengeForID, getSoundChallengeForID, getSoundChallengeForID, getTextChallengeForID, getTextChallengeForID
emptyCaptchaStore, garbageCollectCaptchaStore, garbageCollectCaptchaStore, getCaptchaEngineClass, getCaptchaStoreMaxSize, getCaptchaStoreSize, getCaptchaStoreSizeBeforeGarbageCollection, getEngine, getMinGuarantedStorageDelayInSeconds, getNumberOfCorrectResponses, getNumberOfGarbageCollectableCaptchas, getNumberOfGarbageCollectedCaptcha, getNumberOfGeneratedCaptchas, getNumberOfUncorrectResponses, isCaptchaStoreFull, isCaptchaStoreQuotaReached, setCaptchaEngine, setCaptchaEngineClass, setCaptchaStoreMaxSize, setCaptchaStoreSizeBeforeGarbageCollection, setMinGuarantedStorageDelayInSeconds, validateResponseForID
getChallengeForID, getChallengeForID, getQuestionForID, getQuestionForID
public SimpleBufferedManageableCaptchaService(com.octo.captcha.engine.CaptchaEngine engine, com.octo.captcha.engine.bufferedengine.SimpleBufferedEngineContainer container, int minGuarantedStorageDelayInSeconds, int maxCaptchaStoreSize)
engine
- the enginecontainer
- the containerminGuarantedStorageDelayInSeconds
- the min Guaranted Storage Delay In SecondsmaxCaptchaStoreSize
- the max Captcha Store Sizeprotected com.octo.captcha.Captcha generateAndStoreCaptcha(Locale locale, String strID)
generateAndStoreCaptcha
in class com.octo.captcha.service.AbstractManageableCaptchaService
locale
- the localestrID
- the IDpublic com.octo.captcha.engine.bufferedengine.SimpleBufferedEngineContainer getContainer()
public void setContainer(com.octo.captcha.engine.bufferedengine.SimpleBufferedEngineContainer container)
container
- the containerCopyright © 2018 City of Paris. All rights reserved.