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:
-
Create a provider class that implements the
com.escenic.servlet.captcha.CaptchaProvider
interface. -
Create a configuration
.properties
file for your provider class and add it to your publication web application'sWEB-INF/local-config
folder. -
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.