Class LuteceGimpyImage
java.lang.Object
com.octo.captcha.image.ImageCaptcha
fr.paris.lutece.plugins.captcha.modules.jcaptcha.service.image.LuteceGimpyImage
- All Implemented Interfaces:
com.octo.captcha.Captcha,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:
-
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanvalidateResponse(Object response) Validation routine from the CAPTCHA interface.Methods inherited from class com.octo.captcha.image.ImageCaptcha
disposeChallenge, getChallenge, getImageChallenge, getQuestion, hasGetChalengeBeenCalled
-
Method Details
-
validateResponse
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.
-