com.liferay.portal.captcha
Class CaptchaUtil
java.lang.Object
com.liferay.portal.captcha.CaptchaUtil
public class CaptchaUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static void |
check(javax.servlet.http.HttpServletRequest request)
|
static void |
check(javax.portlet.PortletRequest portletRequest)
|
static nl.captcha.servlet.CaptchaProducer |
getCaptchaProducer()
|
static boolean |
isEnabled(javax.servlet.http.HttpServletRequest request)
|
static boolean |
isEnabled(javax.portlet.PortletRequest portletRequest)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
check
public static void check(javax.servlet.http.HttpServletRequest request)
throws CaptchaTextException
- Throws:
CaptchaTextException
check
public static void check(javax.portlet.PortletRequest portletRequest)
throws CaptchaTextException
- Throws:
CaptchaTextException
getCaptchaProducer
public static nl.captcha.servlet.CaptchaProducer getCaptchaProducer()
isEnabled
public static boolean isEnabled(javax.servlet.http.HttpServletRequest request)
isEnabled
public static boolean isEnabled(javax.portlet.PortletRequest portletRequest)