Class ReCaptchaImpl

java.lang.Object
com.liferay.captcha.simplecaptcha.SimpleCaptchaImpl
com.liferay.captcha.recaptcha.ReCaptchaImpl
All Implemented Interfaces:
com.liferay.portal.kernel.captcha.Captcha

public class ReCaptchaImpl extends SimpleCaptchaImpl
  • Constructor Details

    • ReCaptchaImpl

      public ReCaptchaImpl()
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface com.liferay.portal.kernel.captcha.Captcha
      Overrides:
      getName in class SimpleCaptchaImpl
    • serveImage

      public void serveImage(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse)
      Specified by:
      serveImage in interface com.liferay.portal.kernel.captcha.Captcha
      Overrides:
      serveImage in class SimpleCaptchaImpl
    • serveImage

      public void serveImage(jakarta.portlet.ResourceRequest resourceRequest, jakarta.portlet.ResourceResponse resourceResponse)
      Specified by:
      serveImage in interface com.liferay.portal.kernel.captcha.Captcha
      Overrides:
      serveImage in class SimpleCaptchaImpl
    • getTaglibPath

      protected String getTaglibPath()
      Overrides:
      getTaglibPath in class SimpleCaptchaImpl
    • validateChallenge

      protected boolean validateChallenge(jakarta.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.captcha.CaptchaException
      Overrides:
      validateChallenge in class SimpleCaptchaImpl
      Throws:
      com.liferay.portal.kernel.captcha.CaptchaException
    • validateChallenge

      protected boolean validateChallenge(jakarta.portlet.PortletRequest portletRequest) throws com.liferay.portal.kernel.captcha.CaptchaException
      Overrides:
      validateChallenge in class SimpleCaptchaImpl
      Throws:
      com.liferay.portal.kernel.captcha.CaptchaException