fr.paris.lutece.plugins.captcha.service
Interface ICaptchaEngine


public interface ICaptchaEngine

Interface for captcha engine implementations


Method Summary
 String getCaptchaEngineName()
          Get the name of the captcha engine
 String getHtmlCode()
          Gets the captcha HTML code
 boolean validate(javax.servlet.http.HttpServletRequest request)
          Validate the captcha field
 

Method Detail

validate

boolean validate(javax.servlet.http.HttpServletRequest request)
Validate the captcha field

Parameters:
request - The HTTP request
Returns:
True if OK, otherwise false

getHtmlCode

String getHtmlCode()
Gets the captcha HTML code

Returns:
The captcha HTML code

getCaptchaEngineName

String getCaptchaEngineName()
Get the name of the captcha engine

Returns:
The name of the captcha engine


Copyright © 2013 Mairie de Paris. All Rights Reserved.