Access Keys:
Skip to content (Access Key - 0)

CAPTCHA Integration for Spring Modules

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Introduction

JCAPTCHA, for Java Completely Automated Public Test to tell Computers and Humans Apart is an open source project where assures the preventing the automated systems to fill data in web applications with junk data.The idea is to have a human command to enter before submitting each web form entry.This document provides instructions on adding CAPTCHA support to spring module of an AppFuse project. It is based on AppFuse 2.0.1 which you can find more about by reading the Release Notes 2.0.1

The CAPTCHA integration for the appfuse struts module can be found here.

Addition of CAPTCHA is as simple as unzipping the appfuse-captcha-2.0-M4.zip file into your "myproject" directory, and editing one pom.xml file.

Versions Used

1.Appfuse 2.0.1
2.Maven 2.0.6
3.JCAPTCHA 1.0-RC6

Resources

Download the appfuse-captcha-2.0-M4.zip sources, which includes these instructions.
General AppFuse support is available at the http://appfuse.org/ website. Support for jCaptcha can be found at the http://jcaptcha.sourceforge.net/ website.

Assumptions

This integration guide is based on the AppFuse QuickStart guide, using a Spring Modular project. It's assumed that you will create an AppFuse project called "myproject" with some package "com.mycompany". It's also assumed that you've followed the AppFuse QuickStart guide and are running MySQL already.
This will work for an AppFuse Spring Modular project archetype. This has been itegrated in strust project but the included files should be easily adaptable based on your requirements for any archy type if you can collect the basic integration idea. It's assumed that you've just created a new project using Maven, and haven't edited or modified any of the base files. (If you've already started developing your Spring Modular project, check everything into a source control management system to manage changes with this feature.
It's a good idea to check all of your files into source control before unzipping appfuse-captcha-2.0-M4.zip into your project so you can see what files changed, and how they changed. A list of files modified and added can be found below.

Conventions

Verifying your Build

Adding Captcha

Adaptavist Theme Builder (4.0.0-M8) Powered by Atlassian Confluence 3.1, the Enterprise Wiki.