...
Then, a CaptchaFactory needs:
- A word generator, to create the text to read.
- A wordToImage, to generate the captcha from the text.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<bean id="CaptchaFactory" class="com.octo.captcha.image.gimpy.GimpyFactory" >
<constructor-arg><ref bean="wordgen"/></constructor-arg>
<constructor-arg><ref bean="wordtoimage"/></constructor-arg>
</bean>
|