Monday, December 13, 2010

Hudson – Creating users with no CAPTCHA

There was a requirement from one of the clients to have no CAPTCHA while signing up for new users in Hudson. A few searches showed that many had requested for this feature, and it was implemented using the security-no-captcha.hpi plugin.

I also heard from the client that they use open JDK and that the CAPTCHA doesn't show up when using this. I also saw a bug report on Hudson's issue list at the following link:

* Hudson, OpenJDK and CAPTCHA
* A second issue

Attached below are steps to install this plugin.

1. Open up a web browser and go to URL http://yourserver:yourhost where yourserver is the name of the system running Hudson. In my case it http://localhost:7223. This should bring the Hudson dashboard, click on the Manage Hudson link on the left hand side. This opens up the following page:


2.Click on Manage Hudson - Manage Plugins. Click now on the Available tab,
in the Authentication and User Management, check the Security No CAPTCHA check box, scroll all the way down click on the Install button at the far right hand corner.
3. Restart Hudson and you should be able to see the plugin in the Installed tab.
4. Within the Manage Hudson -> Configure System, now select the “Hudson’s own user database (Without a CAPTCHA)” check box. Within the Authorization tab, create a User, and check all options.


7. Save this configuration. And when you click on sign up at the right hand corner, no CAPTCHA is shown.
Hudson has been amazing me from day one, I just love to use this CI tool, and recommend every client to do so.

Thanks, Kohsuke Kawaguchi for such a wonderful tool.

No comments:

Post a Comment