Class CaptchaHelper.ValidableCaptcha

    • Constructor Detail

      • ValidableCaptcha

        public ValidableCaptcha​(Captcha c)
        Build the captcha wrapper
        Parameters:
        c - the captcha to wrap
    • Method Detail

      • isValid

        public boolean isValid()
        Determine if the validity date has not expired
        Returns:
        true if the captcha is still valid
      • invalidate

        public void invalidate()
        Mark the captcha as invalid