Class LuteceGimpyImage

  • All Implemented Interfaces:
    com.octo.captcha.Captcha, java.io.Serializable

    public class LuteceGimpyImage
    extends com.octo.captcha.image.ImageCaptcha

    A Gimpy is a ImagCaptcha. It is also the most common captcha.

    • Challenge type : image
    • Response type : String
    • Description : An image of a distorded word is shown. User have to recognize the word and to submit it.
    Version:
    1.0
    Author:
    Marc-Antoine Garrigue
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Boolean validateResponse​(java.lang.Object response)
      Validation routine from the CAPTCHA interface.
      • Methods inherited from class com.octo.captcha.image.ImageCaptcha

        disposeChallenge, getChallenge, getImageChallenge, getQuestion, hasGetChalengeBeenCalled
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • validateResponse

        public final java.lang.Boolean validateResponse​(java.lang.Object response)
        Validation routine from the CAPTCHA interface. this methods verify if the response is not null and a String and then compares the given response to the internal string.
        Parameters:
        response - the response
        Returns:
        true if the given response equals the internal response, false otherwise.