public class ConfigurableCaptchaService extends AbstractCaptchaService {
public ConfigurableCaptchaService() {
backgroundFactory = new SingleColorBackgroundFactory();
wordFactory = new AdaptiveRandomWordFactory();
fontFactory = new RandomFontFactory();
textRenderer = new BestFitTextRenderer();
colorFactory = new SingleColorFactory();
filterFactory = new CurvesRippleFilterFactory(colorFactory);
textRenderer.setLeftMargin(10);
textRenderer.setRightMargin(10);