Save This Page
Home » jcaptcha-src-1.0-RC6 » com.octo.captcha.service.image » [javadoc | source]
com.octo.captcha.service.image
public class: DefaultManageableImageCaptchaService [javadoc | source]
java.lang.Object
   com.octo.captcha.service.AbstractCaptchaService
      com.octo.captcha.service.AbstractManageableCaptchaService
         com.octo.captcha.service.image.AbstractManageableImageCaptchaService
            com.octo.captcha.service.image.DefaultManageableImageCaptchaService

All Implemented Interfaces:
    ImageCaptchaService, AbstractManageableCaptchaServiceMBean, CaptchaService

Default service implementation : use a FastHashMapCaptchaStore as captcha store, and a DefaultGimpyEngine

It is initialized with thoses default values :
Fields inherited from com.octo.captcha.service.AbstractCaptchaService:
store,  engine
Constructor:
 public DefaultManageableImageCaptchaService() 
 public DefaultManageableImageCaptchaService(int minGuarantedStorageDelayInSeconds,
    int maxCaptchaStoreSize,
    int captchaStoreLoadBeforeGarbageCollection) 
    Parameters:
    minGuarantedStorageDelayInSeconds -
    maxCaptchaStoreSize -
    captchaStoreLoadBeforeGarbageCollection -
 public DefaultManageableImageCaptchaService(CaptchaStore captchaStore,
    CaptchaEngine captchaEngine,
    int minGuarantedStorageDelayInSeconds,
    int maxCaptchaStoreSize,
    int captchaStoreLoadBeforeGarbageCollection) 
    Parameters:
    captchaStore -
    captchaEngine -
    minGuarantedStorageDelayInSeconds -
    maxCaptchaStoreSize -
    captchaStoreLoadBeforeGarbageCollection -
Methods from com.octo.captcha.service.image.AbstractManageableImageCaptchaService:
getChallengeClone,   getImageChallengeForID,   getImageChallengeForID
Methods from com.octo.captcha.service.AbstractManageableCaptchaService:
emptyCaptchaStore,   garbageCollectCaptchaStore,   generateAndStoreCaptcha,   getCaptchaEngineClass,   getCaptchaStoreMaxSize,   getCaptchaStoreSize,   getCaptchaStoreSizeBeforeGarbageCollection,   getEngine,   getMinGuarantedStorageDelayInSeconds,   getNumberOfCorrectResponses,   getNumberOfGarbageCollectableCaptchas,   getNumberOfGarbageCollectedCaptcha,   getNumberOfGeneratedCaptchas,   getNumberOfUncorrectResponses,   setCaptchaEngine,   setCaptchaEngineClass,   setCaptchaStoreMaxSize,   setCaptchaStoreSizeBeforeGarbageCollection,   setMinGuarantedStorageDelayInSeconds,   validateResponseForID
Methods from com.octo.captcha.service.AbstractCaptchaService:
generateAndStoreCaptcha,   getChallengeClone,   getChallengeForID,   getChallengeForID,   getQuestionForID,   getQuestionForID,   validateResponseForID
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait