Class WidgetCaptchaServiceImpl
java.lang.Object
ch.tocco.nice2.widget.impl.captcha.WidgetCaptchaServiceImpl
- All Implemented Interfaces:
WidgetCaptchaService
-
Constructor Summary
ConstructorsConstructorDescriptionWidgetCaptchaServiceImpl(RecaptchaVerificationService recaptchaVerificationService, org.slf4j.Logger logger) -
Method Summary
-
Constructor Details
-
WidgetCaptchaServiceImpl
public WidgetCaptchaServiceImpl(RecaptchaVerificationService recaptchaVerificationService, org.slf4j.Logger logger)
-
-
Method Details
-
setEnabled
@Value("${nice2.widget.captcha.enabled}") public void setEnabled(boolean enabled) -
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceWidgetCaptchaService
-
verify
- Specified by:
verifyin interfaceWidgetCaptchaService
-