Class FeedbackCaptchaService
java.lang.Object
fr.paris.lutece.plugins.extend.modules.feedback.service.FeedbackCaptchaService
- All Implemented Interfaces:
IFeedbackCaptchaService
@ApplicationScoped
@Named("extend-feedback.feedbackCaptchaService")
public class FeedbackCaptchaService
extends Object
implements IFeedbackCaptchaService
FeedbackCaptchaService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfillModel(Map<String, Object> model, FeedbackExtenderConfig config) Fill model.voidvalidateCaptcha(jakarta.servlet.http.HttpServletRequest request) Test captcha.
-
Constructor Details
-
FeedbackCaptchaService
public FeedbackCaptchaService()
-
-
Method Details
-
fillModel
Fill model.- Specified by:
fillModelin interfaceIFeedbackCaptchaService- Parameters:
model- the modelconfig- the feedbackExtenderConfig
-
validateCaptcha
public void validateCaptcha(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.message.SiteMessageException Test captcha.- Specified by:
validateCaptchain interfaceIFeedbackCaptchaService- Parameters:
request- the request- Throws:
fr.paris.lutece.portal.service.message.SiteMessageException- the site message exception
-