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(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
      Specified by:
      serveImage in interface com.liferay.portal.kernel.captcha.Captcha
      Overrides:
      serveImage in class SimpleCaptchaImpl
    • serveImage

      public void serveImage(javax.portlet.ResourceRequest resourceRequest, javax.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(javax.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(javax.portlet.PortletRequest portletRequest) throws com.liferay.portal.kernel.captcha.CaptchaException
      Overrides:
      validateChallenge in class SimpleCaptchaImpl
      Throws:
      com.liferay.portal.kernel.captcha.CaptchaException