Examples of validateResponseForID()


Examples of com.dotcms.repackage.com.octo.captcha.service.sound.SoundCaptchaService.validateResponseForID()

    }else if(UtilMethods.isSet(audioCaptcha) && UtilMethods.isSet(captchaId)){

      SoundCaptchaService soundCaptchaService = (SoundCaptchaService)session.getAttribute(WebKeys.SESSION_JCAPTCHA_SOUND_SERVICE);
     
      try {
        isResponseCorrect = soundCaptchaService.validateResponseForID(captchaId, audioCaptcha);
   
      } catch (CaptchaServiceException e) {
        Logger.error(CaptchaUtil.class, "An error ocurred trying to validate audio captcha", e);
      }
    }
View Full Code Here

Examples of com.dotcms.repackage.com.octo.captcha.service.sound.SoundCaptchaService.validateResponseForID()

    if(UtilMethods.isSet(audioCaptcha) && UtilMethods.isSet(captchaId)){
      try {
        //isResponseCorrect = CaptchaServiceSingleton.getInstance().validateResponseForID(captchaId, audioCaptcha);
       
        SoundCaptchaService soundCaptchaService = (SoundCaptchaService) request.getSession().getAttribute(WebKeys.SESSION_JCAPTCHA_SOUND_SERVICE);
        isResponseCorrect = soundCaptchaService.validateResponseForID(captchaId, audioCaptcha);
        request.getSession().removeAttribute(WebKeys.SESSION_JCAPTCHA_SOUND_SERVICE);
      } catch (CaptchaServiceException e) {
        Logger.error(CaptchaUtil.class, "An error ocurred trying to validate audio captcha", e);
      }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.