Class CaptchaWidgetConfigContributor
java.lang.Object
ch.tocco.nice2.widget.impl.rest.CaptchaWidgetConfigContributor
- All Implemented Interfaces:
WidgetConfigContributor
@Component
public class CaptchaWidgetConfigContributor
extends Object
implements WidgetConfigContributor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute custom logic to modify the configObjectvoidsetCaptchaSiteKey(String captchaSiteKey) voidsetWidgetUniqueIds(List<String> widgetUniqueIds) boolean
-
Constructor Details
-
CaptchaWidgetConfigContributor
-
-
Method Details
-
setWidgetUniqueIds
-
setCaptchaSiteKey
@Value("${nice2.userbase.captcha.v2.client.key}") public void setCaptchaSiteKey(String captchaSiteKey) -
supports
- Specified by:
supportsin interfaceWidgetConfigContributor- Returns:
- true if this contributor supports the given widget
-
apply
Description copied from interface:WidgetConfigContributorexecute custom logic to modify the configObject- Specified by:
applyin interfaceWidgetConfigContributor
-