Interface CaptchaAware
- All Known Implementing Classes:
AbstractCreateAndEditPageAction
,AbstractCreatePageAction
,AbstractEditPageAction
,AddCommentAction
,CopyPageAction
,CreateBlogPostAction
,CreatePageAction
,CreatePageEntryAction
,CreatePageFromTemplateAction
,EditBlogPostAction
,EditCommentAction
,EditMyProfileAction
,EditorAction
,EditPageAction
,ForgotUserPasswordAction
,PageVariablesAction
,ResetUserPasswordAction
,SignUpAction
,SiteSupportAction
,ViewPageAttachmentsAction
public interface CaptchaAware
Interface used to mark
Action
s that require captcha validation. Validation is
handled by the CaptchaInterceptor
, so you must ensure that the form post action is intercepted by this.-
Method Summary
-
Method Details
-
mustValidateCaptcha
default boolean mustValidateCaptcha()- Returns:
- a boolean value indicating if the Captcha response must always be validated on each action form post. e.g. There is no counter for number of tries, and no requirement for captcha spam prevention to be explicitly enabled.
- Since:
- 8.2.0
-