CAPTCHA---验证码 ---Security code

简介: BotDetect Java CAPTCHA Generator   3. Add BotDetect Java CAPTCHA Library Dependency Here is how to add BotDetect Java CAPTCHA Library dependency...

 

BotDetect Java CAPTCHA Generator

 

3. Add BotDetect Java CAPTCHA Library Dependency

Here is how to add BotDetect Java CAPTCHA Library dependency in various dependency management scenarios:

The free version of BotDetect Java Captcha is available as a maven artifact:

1) Add BotDetect public maven repository (NetBeans 8):

Windows -> Services -> Maven Repositories -> Add Repository:
https://git.captcha.com/maven.git/blob_plain/HEAD:/

2) In pom.xml file, dependency should be added:

<dependency>
  <groupId>com.captcha</groupId>
  <artifactId>botdetect-jsf20</artifactId>
  <version>4.0.beta3</version>
</dependency>

 

<repository>
  <id>captcha</id>
  <name>BotDetect Captcha Repository</name>
  <url>https://git.captcha.com/maven.git/blob_plain/HEAD:/</url>
</repository>

 

In case your application uses JSF 1.2 you will need to add botdetect-jsf12 instead of botdetect-jsf20.

4. Register BotDetect Captcha Servlet

Update your application configuration (web.xml) file.

<servlet>
  <servlet-name>BotDetect Captcha</servlet-name>
  <servlet-class>com.captcha.botdetect.web.servlet.CaptchaServlet</servlet-class>
</servlet>
<servlet-mapping>
  <servlet-name>BotDetect Captcha</servlet-name>
  <url-pattern>/botdetectcaptcha</url-pattern>
</servlet-mapping>

BotDetect Java CAPTCHA Free version

You can download BotDetect Java CAPTCHA library for free and use it immediately! Your forms can be protected from spam (and bots in general) in minutes.

Keep in mind that we offer basic email support for free to all BotDetect users. So if you need any assistance integrating BotDetect or have any questions or feedback, our Support department is at your disposal.

Once the BotDetect Captcha generator library has been integrated into your Java web application and you're satisfied with how it works, it's easy to upgrade your license if you need the extra features and options offered by commercial BotDetect versions.

BotDetect Java Captcha Free Download

https://captcha.com/java-captcha.html#jsf-maven-dependency

 

相关文章
|
iOS开发
解决App Installation failed, No code signature found.
解决App Installation failed, No code signature found.
289 0
|
安全 网络安全 数据安全/隐私保护
关于 SAP cloud com.jcraft.jsch.JschException Auth fail for methods password错误消息
关于 SAP cloud com.jcraft.jsch.JschException Auth fail for methods password错误消息
|
1月前
|
存储 Java 关系型数据库
LDAP: error code 32 - No Such Object
`亲测可用,之前搜索了很多博客,啥样的都有,就是不介绍报错以及配置用处,根本不懂照抄那些配置是干啥的,稀里糊涂的按照博客搭完也跑不起来,因此记录这个。` `项目背景`:公司项目当前采用http协议+shiro+mysql的登录认证方式,而现在想支持ldap协议认证登录然后能够访问自己公司的项目网站。 `举例说明`:假设我们公司有自己的门户网站,现在我们收购了一家公司,他们数据库采用ldap存储用户数据,那么为了他们账户能登陆我们公司项目所以需要集成,而不是再把他们的账户重新在mysql再创建一遍,万一人家有1W个账户呢,不累死了且也不现实啊。
75 14
picgo Request failed with status code 404
picgo Request failed with status code 404
|
5月前
|
缓存 移动开发 前端开发
登录报下面错误The remembered identity will be forgotten and not used for this request
登录报下面错误The remembered identity will be forgotten and not used for this request
45 0
|
11月前
Please enter your authorization code to login. More information in http://service.mail.qq.com/
Please enter your authorization code to login. More information in http://service.mail.qq.com/
154 0
HttpMessageNotReadableException: Required request body is missing: xxx.controller.login(xxx)...
HttpMessageNotReadableException: Required request body is missing: xxx.controller.login(xxx)...
HttpMessageNotReadableException: Required request body is missing: xxx.controller.login(xxx)...
|
小程序
【微信小程序登录错误】"code":-1,"error":"ERR_GET_SESSION_KEY\n{\"code\":0,\"message\":\"\",\"codeDesc\":\"Succe
【微信小程序登录错误】"code":-1,"error":"ERR_GET_SESSION_KEY\n{\"code\":0,\"message\":\"\",\"codeDesc\":\"Succe
985 0
【微信小程序登录错误】"code":-1,"error":"ERR_GET_SESSION_KEY\n{\"code\":0,\"message\":\"\",\"codeDesc\":\"Succe
Cloud for Customer mobile应用里pass Code登录界面的绘制原理
Cloud for Customer mobile应用里pass Code登录界面的绘制原理
140 0
Cloud for Customer mobile应用里pass Code登录界面的绘制原理
|
Web App开发 Java
利用Basic authentication 测试不同user的metadata access request
Created by Jerry Wang, last modified on Dec 26, 2014
147 0
利用Basic authentication 测试不同user的metadata access request