Examples of CaptchaServiceException


Examples of com.octo.captcha.service.CaptchaServiceException

* @author Jose Noheda
*/
public class AJAXManageableImageCaptchaService extends DefaultManageableImageCaptchaService {

    public boolean validateResponse(String id, String response) {
        if (!store.hasCaptcha(id)) throw new CaptchaServiceException("Invalid ID, could not validate unexisting captcha");
        return store.getCaptcha(id).validateResponse(response);
    }
View Full Code Here

Examples of com.octo.captcha.service.CaptchaServiceException

* @author Jose Noheda
*/
public class AJAXManageableImageCaptchaService extends DefaultManageableImageCaptchaService {

    public boolean validateResponse(String id, String response) {
        if (!store.hasCaptcha(id)) throw new CaptchaServiceException("Invalid ID, could not validate unexisting captcha");
        return store.getCaptcha(id).validateResponse(response);
    }
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.