Class ConfluenceImageCaptchaService

  • All Implemented Interfaces:
    com.octo.captcha.service.CaptchaService, com.octo.captcha.service.image.ImageCaptchaService

    public class ConfluenceImageCaptchaService
    extends com.octo.captcha.service.AbstractCaptchaService
    implements com.octo.captcha.service.image.ImageCaptchaService
    • Constructor Detail

      • ConfluenceImageCaptchaService

        public ConfluenceImageCaptchaService​(com.octo.captcha.service.captchastore.CaptchaStore store,
                                             com.octo.captcha.engine.CaptchaEngine engine)
    • Method Detail

      • getImageChallengeForID

        public BufferedImage getImageChallengeForID​(String ID)
                                             throws com.octo.captcha.service.CaptchaServiceException
        Specified by:
        getImageChallengeForID in interface com.octo.captcha.service.image.ImageCaptchaService
        Throws:
        com.octo.captcha.service.CaptchaServiceException
      • getImageChallengeForID

        public BufferedImage getImageChallengeForID​(String ID,
                                                    Locale locale)
                                             throws com.octo.captcha.service.CaptchaServiceException
        Specified by:
        getImageChallengeForID in interface com.octo.captcha.service.image.ImageCaptchaService
        Throws:
        com.octo.captcha.service.CaptchaServiceException
      • getChallengeClone

        protected Object getChallengeClone​(com.octo.captcha.Captcha captcha)
        Specified by:
        getChallengeClone in class com.octo.captcha.service.AbstractCaptchaService
      • setCaptchaEngine

        public void setCaptchaEngine​(com.octo.captcha.engine.CaptchaEngine captchaEngine)
        Specified by:
        setCaptchaEngine in interface com.octo.captcha.service.image.ImageCaptchaService