Class CaptchaService

java.lang.Object
fr.paris.lutece.plugins.captcha.service.CaptchaService
All Implemented Interfaces:
fr.paris.lutece.portal.service.captcha.ICaptchaService

@ApplicationScoped @Named("captcha.captchaService") public class CaptchaService extends Object implements fr.paris.lutece.portal.service.captcha.ICaptchaService
Captcha service
  • Field Details

  • Constructor Details

    • CaptchaService

      public CaptchaService()
  • Method Details

    • validate

      public boolean validate(jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      validate in interface fr.paris.lutece.portal.service.captcha.ICaptchaService
    • getHtmlCode

      public String getHtmlCode()
      Specified by:
      getHtmlCode in interface fr.paris.lutece.portal.service.captcha.ICaptchaService
    • getCaptchaEngineNameList

      public List<String> getCaptchaEngineNameList()
      Specified by:
      getCaptchaEngineNameList in interface fr.paris.lutece.portal.service.captcha.ICaptchaService
    • getDefaultCaptchaEngineName

      public String getDefaultCaptchaEngineName()
      Specified by:
      getDefaultCaptchaEngineName in interface fr.paris.lutece.portal.service.captcha.ICaptchaService
    • setDefaultCaptchaEngineName

      public void setDefaultCaptchaEngineName(String strDefaultCaptchaEngine)
      Specified by:
      setDefaultCaptchaEngineName in interface fr.paris.lutece.portal.service.captcha.ICaptchaService