java中的验证码[重复]

2024-04-20

我想尝试用 Java 开发一个安全登录系统。我应该如何使用 Java 实现 CAPTCHA?


我在 Java 中使用的三个验证码库是:

  1. JCaptcha- 这是三者中最可配置的,并且有很好的文档记录。但无论如何,我们似乎都无法让它看起来正确。它还执行音频和其他非常规验证码
    JCaptcha 示例 http://jcaptcha.sourceforge.net/samples/SimpleListImageCaptchaEngineCaptcha_0.jpg http://jcaptcha.sourceforge.net/samples/SimpleListImageCaptchaEngineCaptcha_0.jpg
    http://jcaptcha.sourceforge.net/ http://jcaptcha.sourceforge.net/

  2. 简单验证码- 这是合理配置的,并且有很好的文档记录。我喜欢它的外观,但有些人读起来有困难。
    SimpleCaptcha 示例 http://simplecaptcha.sourceforge.net/images/Captcha.jpg http://simplecaptcha.sourceforge.net/images/Captcha.jpg
    http://simplecaptcha.sourceforge.net/ http://simplecaptcha.sourceforge.net/

  3. icaptcha- 这是相当缺乏记录的,但从示例中应该不难理解。在我们的测试中,我们发现它比其他两个更具可读性(可能是好事也可能是坏事,具体取决于您的目标受众)
    icaptcha 示例 http://icaptcha.googlecode.com/files/2_img_test.jpg http://icaptcha.googlecode.com/files/2_img_test.jpg
    http://code.google.com/p/icaptcha/ http://code.google.com/p/icaptcha/

我们的应用程序基于 Spring MVC,集成这些非常容易。

我们只是选择了对我们来说最好的(icaptcha)。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

java中的验证码[重复] 的相关文章

随机推荐