com.atlassian.confluence.security
Class DistortedCaptchaEngine
java.lang.Object
com.octo.captcha.engine.image.ImageCaptchaEngine
com.atlassian.confluence.security.DistortedCaptchaEngine
- All Implemented Interfaces:
- com.octo.captcha.engine.CaptchaEngine
- Direct Known Subclasses:
- ConfluenceCaptchaEngine
public class DistortedCaptchaEngine
- extends com.octo.captcha.engine.image.ImageCaptchaEngine
The captcha as used by FishEye/Crucible.
Adds distortion to the captcha image.
The engine has two CaptchaFactories, the default one
and an easier one. During runtime we decide which factory to use
depending on the setting of the dark feature.
| Methods inherited from class com.octo.captcha.engine.image.ImageCaptchaEngine |
getNextCaptcha, getNextCaptcha |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BACKGROUND_COLOR
public static final Color BACKGROUND_COLOR
DARKFEATURE_KEY_EASY_CAPTCHA
public static final String DARKFEATURE_KEY_EASY_CAPTCHA
- See Also:
- Constant Field Values
DistortedCaptchaEngine
public DistortedCaptchaEngine()
getDarkFeaturesManager
public DarkFeaturesManager getDarkFeaturesManager()
getNextImageCaptcha
public com.octo.captcha.image.ImageCaptcha getNextImageCaptcha()
- Specified by:
getNextImageCaptcha in class com.octo.captcha.engine.image.ImageCaptchaEngine
getNextImageCaptcha
public com.octo.captcha.image.ImageCaptcha getNextImageCaptcha(Locale locale)
- Specified by:
getNextImageCaptcha in class com.octo.captcha.engine.image.ImageCaptchaEngine
getFactories
public com.octo.captcha.CaptchaFactory[] getFactories()
setFactories
public void setFactories(com.octo.captcha.CaptchaFactory[] captchaFactories)
throws com.octo.captcha.engine.CaptchaEngineException
- Throws:
com.octo.captcha.engine.CaptchaEngineException
Copyright © 2003-2013 Atlassian. All Rights Reserved.