Package com.atlassian.jira.servlet
Class NoOpImageCaptchaService
java.lang.Object
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
Modifier and TypeMethodDescriptiongetChallengeForID
(String ID, Locale locale) getImageChallengeForID
(String ID, Locale locale) getQuestionForID
(String ID, Locale locale) static com.octo.captcha.service.image.ImageCaptchaService
instance()
validateResponseForID
(String ID, Object response)
-
Method Details
-
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 interfacecom.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 interfacecom.octo.captcha.service.image.ImageCaptchaService
- Throws:
com.octo.captcha.service.CaptchaServiceException
-
getChallengeForID
- Specified by:
getChallengeForID
in interfacecom.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 interfacecom.octo.captcha.service.CaptchaService
- Throws:
com.octo.captcha.service.CaptchaServiceException
-
getQuestionForID
- Specified by:
getQuestionForID
in interfacecom.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 interfacecom.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 interfacecom.octo.captcha.service.CaptchaService
- Throws:
com.octo.captcha.service.CaptchaServiceException
-