Class CaptchaGeneratorDefault
java.lang.Object
org.bardframework.flow.form.field.input.captcha.CaptchaGeneratorDefault
- All Implemented Interfaces:
OtpGenerator<org.bardframework.commons.captcha.GeneratedCaptcha>
public class CaptchaGeneratorDefault
extends Object
implements OtpGenerator<org.bardframework.commons.captcha.GeneratedCaptcha>
-
Constructor Summary
ConstructorsConstructorDescriptionCaptchaGeneratorDefault(org.bardframework.commons.captcha.CaptchaService captchaService, org.bardframework.commons.captcha.CaptchaType type, int length) -
Method Summary
-
Constructor Details
-
CaptchaGeneratorDefault
public CaptchaGeneratorDefault(org.bardframework.commons.captcha.CaptchaService captchaService, org.bardframework.commons.captcha.CaptchaType type, int length)
-
-
Method Details
-
generate
public org.bardframework.commons.captcha.GeneratedCaptcha generate()- Specified by:
generatein interfaceOtpGenerator<org.bardframework.commons.captcha.GeneratedCaptcha>
-
getLength
public int getLength()- Specified by:
getLengthin interfaceOtpGenerator<org.bardframework.commons.captcha.GeneratedCaptcha>
-
isNumber
- Specified by:
isNumberin interfaceOtpGenerator<org.bardframework.commons.captcha.GeneratedCaptcha>
-