com.atlassian.jira.servlet
Class NoOpImageCaptchaService

java.lang.Object
  extended by com.atlassian.jira.servlet.NoOpImageCaptchaService
All Implemented Interfaces:
com.octo.captcha.service.CaptchaService, com.octo.captcha.service.image.ImageCaptchaService

public class NoOpImageCaptchaService
extends Object
implements com.octo.captcha.service.image.ImageCaptchaService

no op Captcha service for the express purpose of reducing memory in OnDemand

Since:
v6.1

Method Summary
 Object getChallengeForID(String ID)
           
 Object getChallengeForID(String ID, Locale locale)
           
 BufferedImage getImageChallengeForID(String ID)
           
 BufferedImage getImageChallengeForID(String ID, Locale locale)
           
 String getQuestionForID(String ID)
           
 String getQuestionForID(String ID, Locale locale)
           
static com.octo.captcha.service.image.ImageCaptchaService instance()
           
 Boolean validateResponseForID(String ID, Object response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static com.octo.captcha.service.image.ImageCaptchaService instance()

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

getChallengeForID

public Object getChallengeForID(String ID)
                         throws com.octo.captcha.service.CaptchaServiceException
Specified by:
getChallengeForID in interface com.octo.captcha.service.CaptchaService
Throws:
com.octo.captcha.service.CaptchaServiceException

getChallengeForID

public Object getChallengeForID(String ID,
                                Locale locale)
                         throws com.octo.captcha.service.CaptchaServiceException
Specified by:
getChallengeForID in interface com.octo.captcha.service.CaptchaService
Throws:
com.octo.captcha.service.CaptchaServiceException

getQuestionForID

public String getQuestionForID(String ID)
                        throws com.octo.captcha.service.CaptchaServiceException
Specified by:
getQuestionForID in interface com.octo.captcha.service.CaptchaService
Throws:
com.octo.captcha.service.CaptchaServiceException

getQuestionForID

public String getQuestionForID(String ID,
                               Locale locale)
                        throws com.octo.captcha.service.CaptchaServiceException
Specified by:
getQuestionForID in interface com.octo.captcha.service.CaptchaService
Throws:
com.octo.captcha.service.CaptchaServiceException

validateResponseForID

public Boolean validateResponseForID(String ID,
                                     Object response)
                              throws com.octo.captcha.service.CaptchaServiceException
Specified by:
validateResponseForID in interface com.octo.captcha.service.CaptchaService
Throws:
com.octo.captcha.service.CaptchaServiceException


Copyright © 2002-2013 Atlassian. All Rights Reserved.