|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectImageCaptchaEngine
org.opencms.frontend.templateone.form.CmsCaptchaEngine
public class CmsCaptchaEngine
A captcha engine using a Gimpy factory to create captchas.
| Constructor Summary | |
|---|---|
CmsCaptchaEngine(CmsCaptchaSettings captchaSettings)
Creates a new Captcha engine. |
|
| Method Summary | |
|---|---|
CaptchaFactory[] |
getFactories()
Returns the hardcoded factory (array of length 1) that is used. |
com.octo.captcha.image.ImageCaptchaFactory |
getImageCaptchaFactory()
This method build a ImageCaptchaFactory. |
protected void |
initGimpyFactory()
Initializes a Gimpy captcha factory. |
void |
setFactories(CaptchaFactory[] arg0)
This does nothing. |
void |
setSettings(CmsCaptchaSettings settings)
Sets the settings. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsCaptchaEngine(CmsCaptchaSettings captchaSettings)
captchaSettings - the settings to render captcha images| Method Detail |
|---|
public void setSettings(CmsCaptchaSettings settings)
settings - the settings to setprotected void initGimpyFactory()
public CaptchaFactory[] getFactories()
com.octo.captcha.engine.CaptchaEngine#getFactories()
public void setFactories(CaptchaFactory[] arg0)
throws CaptchaEngineException
A hardcored factory for deformation is used.
CaptchaEngineExceptioncom.octo.captcha.engine.CaptchaEngine#setFactories(com.octo.captcha.CaptchaFactory[])public com.octo.captcha.image.ImageCaptchaFactory getImageCaptchaFactory()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||