com.liferay.portal.captcha
Class CaptchaUtil

java.lang.Object
  extended bycom.liferay.portal.captcha.CaptchaUtil

public class CaptchaUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
CaptchaUtil()
           
 
Method Summary
static void check(javax.servlet.http.HttpServletRequest req)
           
static void check(javax.portlet.PortletRequest req)
           
static boolean isEnabled(javax.servlet.http.HttpServletRequest req)
           
static boolean isEnabled(javax.portlet.PortletRequest req)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaptchaUtil

public CaptchaUtil()
Method Detail

check

public static void check(javax.servlet.http.HttpServletRequest req)
                  throws CaptchaTextException
Throws:
CaptchaTextException

check

public static void check(javax.portlet.PortletRequest req)
                  throws CaptchaTextException
Throws:
CaptchaTextException

isEnabled

public static boolean isEnabled(javax.servlet.http.HttpServletRequest req)

isEnabled

public static boolean isEnabled(javax.portlet.PortletRequest req)