Class CaptchaGeneratorDefault
- java.lang.Object
-
- org.bardframework.flow.form.field.input.captcha.CaptchaGeneratorDefault
-
- All Implemented Interfaces:
CaptchaGenerator
public class CaptchaGeneratorDefault extends Object implements CaptchaGenerator
-
-
Constructor Summary
Constructors Constructor Description CaptchaGeneratorDefault(org.bardframework.commons.captcha.CaptchaService captchaService, org.bardframework.commons.captcha.CaptchaType type, int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bardframework.commons.captcha.GeneratedCaptchagenerate()org.bardframework.commons.captcha.CaptchaServicegetCaptchaService()intgetLength()org.bardframework.commons.captcha.CaptchaTypegetType()
-
-
-
Method Detail
-
generate
public org.bardframework.commons.captcha.GeneratedCaptcha generate() throws Exception- Specified by:
generatein interfaceCaptchaGenerator- Throws:
Exception
-
getCaptchaService
public org.bardframework.commons.captcha.CaptchaService getCaptchaService()
-
getType
public org.bardframework.commons.captcha.CaptchaType getType()
-
getLength
public int getLength()
- Specified by:
getLengthin interfaceCaptchaGenerator
-
-