Interface ICaptchaEngine
public interface ICaptchaEngine
Interface for captcha engine implementations
-
Method Summary
Modifier and TypeMethodDescriptionGet the name of the captcha engineGets the captcha HTML codebooleanvalidate(jakarta.servlet.http.HttpServletRequest request) Validate the captcha field
-
Method Details
-
validate
boolean validate(jakarta.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
-