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 markAction
s that require captcha validation. Validation is handled by theCaptchaInterceptor
, so you must ensure that the form post action is intercepted by this.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default boolean
mustValidateCaptcha()
-
-
-
Method Detail
-
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
-
-