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

All Implemented Interfaces:
    ImageCaptchaService, EhcacheManageableCaptchaServiceMBean, CaptchaService

Deprecated!
Base implementation of the EhcacheManageableImageCaptchaService.
Fields inherited from com.octo.captcha.service.EhcacheManageableCaptchaService:
CACHE_NAME_PREFIX,  DEFAULT_CACHE_NAME,  captchaStoreCacheName
Fields inherited from com.octo.captcha.service.AbstractCaptchaService:
store,  engine
Constructor:
 protected EhcacheManageableImageCaptchaService(CaptchaEngine captchaEngine,
    int minGuarantedStorageDelayInSeconds,
    int maxCaptchaStoreSize) 
 protected EhcacheManageableImageCaptchaService(CaptchaEngine captchaEngine,
    int minGuarantedStorageDelayInSeconds,
    int maxCaptchaStoreSize,
    String cacheName) 
Method from com.octo.captcha.service.image.EhcacheManageableImageCaptchaService Summary:
getChallengeClone,   getImageChallengeForID,   getImageChallengeForID
Methods from com.octo.captcha.service.EhcacheManageableCaptchaService:
emptyCaptchaStore,   garbageCollectCaptchaStore,   generateAndStoreCaptcha,   getCaptchaEngineClass,   getCaptchaStoreMaxSize,   getCaptchaStoreSize,   getCaptchaStoreSizeBeforeGarbageCollection,   getMinGuarantedStorageDelayInSeconds,   getNumberOfCorrectResponses,   getNumberOfGarbageCollectableCaptchas,   getNumberOfGarbageCollectedCaptcha,   getNumberOfGeneratedCaptchas,   getNumberOfUncorrectResponses,   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
Method from com.octo.captcha.service.image.EhcacheManageableImageCaptchaService Detail:
 protected Object getChallengeClone(Captcha captcha) 
      Deprecated!
    This method must be implemented by sublcasses and : Retrieve the challenge from the captcha Make and return a clone of the challenge Return the clone It has be design in order to let the service dipose the challenge of the captcha after rendering. It should be implemented for all captcha type (@see ImageCaptchaService implementations for exemple)
 public BufferedImage getImageChallengeForID(String ID) throws CaptchaServiceException 
      Deprecated!
    Method to retrive the image challenge corresponding to the given ticket.
 public BufferedImage getImageChallengeForID(String ID,
    Locale locale) throws CaptchaServiceException 
      Deprecated!
    Method to retrive the image challenge corresponding to the given ticket.