public class Captcha extends JahiaController
| Constructor and Description |
|---|
Captcha() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getCaptchaServletPath() |
org.springframework.web.servlet.ModelAndView |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process the request and return a ModelAndView object which the DispatcherServlet
will render.
|
void |
setCaptchaProducer(com.google.code.kaptcha.impl.DefaultKaptcha captchaProducer) |
checkUserAuthorized, checkUserAuthorized, checkUserLoggedIn, getCurrentUser, getIntParameter, getIntParameter, getParameter, getParameter, getRequiredPermission, isRequireAuthenticatedUser, isUserGuest, setRequireAuthenticatedUser, setRequiredPermissionpublic org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
null return value is not an error: It indicates that
this object completed request processing itself, thus there is no ModelAndView
to render.request - current HTTP requestresponse - current HTTP responsenull if handled directlyException - in case of errorspublic void setCaptchaProducer(com.google.code.kaptcha.impl.DefaultKaptcha captchaProducer)
public static String getCaptchaServletPath()
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.