public interface ICaptchaService
Modifier and Type | Method and Description |
---|---|
List<String> |
getCaptchaEngineNameList()
Get the list of captcha providers
|
String |
getDefaultCaptchaEngineName()
Get the default captcha engine to use
|
String |
getHtmlCode()
Gets the captcha HTML code
|
void |
setDefaultCaptchaEngineName(String strDefaultCaptchaEngine)
Set the default captcha engine to use
|
boolean |
validate(javax.servlet.http.HttpServletRequest request)
Validate the captcha field
|
boolean validate(javax.servlet.http.HttpServletRequest request)
request
- The HTTP requestString getHtmlCode()
List<String> getCaptchaEngineNameList()
String getDefaultCaptchaEngineName()
void setDefaultCaptchaEngineName(String strDefaultCaptchaEngine)
strDefaultCaptchaEngine
- the name of the default captcha engine to useCopyright © 2020 City of Paris. All rights reserved.