|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectAbstractManageableImageCaptchaService
org.opencms.frontend.templateone.form.CmsCaptchaService
public class CmsCaptchaService
Provides the facility to create and cache the captcha images.
| Constructor Summary | |
|---|---|
CmsCaptchaService(CmsCaptchaSettings captchaSettings)
Creates a new captcha service. |
|
| Method Summary | |
|---|---|
protected void |
setSettings(CmsCaptchaSettings settings)
Implant new captcha settings to this service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsCaptchaService(CmsCaptchaSettings captchaSettings)
minGuarantedStorageDelayInSeconds = 180s maxCaptchaStoreSize = 100000 captchaStoreLoadBeforeGarbageCollection=75000
captchaSettings - the settings to render captcha images| Method Detail |
|---|
protected void setSettings(CmsCaptchaSettings settings)
This is an expensive method as new Image filters and many processing objects are allocated anew.
Prefer using the CmsCaptchaServiceCache.getCaptchaService(CmsCaptchaSettings, org.opencms.file.CmsObject) method instead.
It will return cached instances for equal settings.
settings - the captcha settings to implant.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||