public class CaptchaImpl
extends java.lang.Object
implements com.liferay.portal.kernel.captcha.Captcha
| Constructor and Description |
|---|
CaptchaImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
check(javax.servlet.http.HttpServletRequest request) |
void |
check(javax.portlet.PortletRequest portletRequest) |
java.lang.String |
getTaglibPath() |
boolean |
isEnabled(javax.servlet.http.HttpServletRequest request) |
boolean |
isEnabled(javax.portlet.PortletRequest portletRequest) |
void |
serveImage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
serveImage(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse) |
void |
setCaptcha(com.liferay.portal.kernel.captcha.Captcha captcha) |
public void check(javax.servlet.http.HttpServletRequest request)
throws com.liferay.portal.kernel.captcha.CaptchaException
check in interface com.liferay.portal.kernel.captcha.Captchacom.liferay.portal.kernel.captcha.CaptchaExceptionpublic void check(javax.portlet.PortletRequest portletRequest)
throws com.liferay.portal.kernel.captcha.CaptchaException
check in interface com.liferay.portal.kernel.captcha.Captchacom.liferay.portal.kernel.captcha.CaptchaExceptionpublic java.lang.String getTaglibPath()
getTaglibPath in interface com.liferay.portal.kernel.captcha.Captchapublic boolean isEnabled(javax.servlet.http.HttpServletRequest request)
throws com.liferay.portal.kernel.captcha.CaptchaException
isEnabled in interface com.liferay.portal.kernel.captcha.Captchacom.liferay.portal.kernel.captcha.CaptchaExceptionpublic boolean isEnabled(javax.portlet.PortletRequest portletRequest)
throws com.liferay.portal.kernel.captcha.CaptchaException
isEnabled in interface com.liferay.portal.kernel.captcha.Captchacom.liferay.portal.kernel.captcha.CaptchaExceptionpublic void serveImage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
serveImage in interface com.liferay.portal.kernel.captcha.Captchajava.io.IOExceptionpublic void serveImage(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse)
throws java.io.IOException
serveImage in interface com.liferay.portal.kernel.captcha.Captchajava.io.IOExceptionpublic void setCaptcha(com.liferay.portal.kernel.captcha.Captcha captcha)