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 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 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