Class DistortedCaptchaEngine

java.lang.Object
com.octo.captcha.engine.image.ImageCaptchaEngine
com.octo.captcha.engine.image.ListImageCaptchaEngine
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.ListImageCaptchaEngine
The captcha as used by FishEye/Crucible.

Adds distortion to the captcha image.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Color
     

    Fields inherited from class com.octo.captcha.engine.image.ImageCaptchaEngine

    factories, myRandom
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     

    Methods inherited from class com.octo.captcha.engine.image.ListImageCaptchaEngine

    addFactories, addFactory

    Methods inherited from class com.octo.captcha.engine.image.ImageCaptchaEngine

    checkNotNullOrEmpty, getFactories, getImageCaptchaFactory, getNextCaptcha, getNextCaptcha, getNextImageCaptcha, getNextImageCaptcha, setFactories

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • BACKGROUND_COLOR

      public static final Color BACKGROUND_COLOR
  • Constructor Details

    • DistortedCaptchaEngine

      public DistortedCaptchaEngine()
  • Method Details

    • buildInitialFactories

      protected void buildInitialFactories()
      Specified by:
      buildInitialFactories in class com.octo.captcha.engine.image.ListImageCaptchaEngine