public class ReCaptchaImpl extends SimpleCaptchaImpl
Constructor and Description |
---|
ReCaptchaImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTaglibPath() |
void |
serveImage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
serveImage(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse) |
protected boolean |
validateChallenge(javax.servlet.http.HttpServletRequest request) |
protected boolean |
validateChallenge(javax.portlet.PortletRequest portletRequest) |
activate, check, check, getBackgroundProducer, getGimpyRenderer, getHeight, getNoiseProducer, getSimpleCaptcha, getTextProducer, getWidth, getWordRenderer, incrementCounter, incrementCounter, incrementCounter, initBackgroundProducers, initGimpyRenderers, initNoiseProducers, initTextProducers, initWordRenderers, isEnabled, isEnabled, isExceededMaxChallenges, isExceededMaxChallenges, isExceededMaxChallenges
public java.lang.String getTaglibPath()
getTaglibPath
in interface com.liferay.portal.kernel.captcha.Captcha
getTaglibPath
in class SimpleCaptchaImpl
public void serveImage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
serveImage
in interface com.liferay.portal.kernel.captcha.Captcha
serveImage
in class SimpleCaptchaImpl
public void serveImage(javax.portlet.ResourceRequest resourceRequest, javax.portlet.ResourceResponse resourceResponse)
serveImage
in interface com.liferay.portal.kernel.captcha.Captcha
serveImage
in class SimpleCaptchaImpl
protected boolean validateChallenge(javax.servlet.http.HttpServletRequest request) throws com.liferay.portal.kernel.captcha.CaptchaException
validateChallenge
in class SimpleCaptchaImpl
com.liferay.portal.kernel.captcha.CaptchaException
protected boolean validateChallenge(javax.portlet.PortletRequest portletRequest) throws com.liferay.portal.kernel.captcha.CaptchaException
validateChallenge
in class SimpleCaptchaImpl
com.liferay.portal.kernel.captcha.CaptchaException