Custom CAPTCHA Provider

As an alternative to using either Jcaptcha or ReCaptcha you can write your own CAPTCHA provider. To do this you need to:

  1. Create a provider class that implements the com.escenic.servlet.captcha.CaptchaProvider interface.

  2. Create a configuration .properties file for your provider class and add it to your publication web application's WEB-INF/local-config folder.

  3. Add a file called com/escenic/captcha/CaptchaProviderFactory.properties to your publication web application's /localconfig/WEB-INF folder. The file must contain the following property setting:

    captchaProvider=component-path

    where component-path is the path of your CAPTCHA component.