fr.paris.lutece.plugins.captcha.modules.jcaptcha.service.image
Class LuteceGimpyImage

java.lang.Object
  extended by com.octo.captcha.image.ImageCaptcha
      extended by 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.

Version:
1.0
Author:
Marc-Antoine Garrigue
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.octo.captcha.image.ImageCaptcha
challenge, question
 
Method Summary
 Boolean validateResponse(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.
 
Methods inherited from class com.octo.captcha.image.ImageCaptcha
disposeChallenge, getChallenge, getImageChallenge, getQuestion, hasGetChalengeBeenCalled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

validateResponse

public final Boolean validateResponse(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.


Copyright © 2014 Mairie de Paris. All Rights Reserved.