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

 

相关文章
|
数据采集 前端开发 开发者
滑动拼图验证码的原理和破解方法~
滑动拼图验证码的原理和破解方法~
3631 0
滑动拼图验证码的原理和破解方法~
|
Oracle 关系型数据库 Linux
PostgreSQL和Oracle中的一条错误消息分析
PostgreSQL服务端的日志里有时会残留一些这样的消息。意思是说客户端的socket意外终止了。 LOG: could not receive data from client: Connection reset by peer. 或中文的 LOG:无法从客户端获得数据: 出现这样的消息有2个可能的原因 1)客户端进程意外结束了 2)客户端进程没有关闭连接就退出了 其中第2点有时比较隐蔽。
3027 0
|
8月前
|
监控 关系型数据库 MySQL
zabbix7.0.9安装-以宝塔安装形式-非docker容器安装方法-系统采用AlmaLinux9系统-最佳匹配操作系统提供稳定运行环境-安装教程完整版本-优雅草卓伊凡
zabbix7.0.9安装-以宝塔安装形式-非docker容器安装方法-系统采用AlmaLinux9系统-最佳匹配操作系统提供稳定运行环境-安装教程完整版本-优雅草卓伊凡
590 30
订单支付异常情况处理
订单支付异常情况处理
670 1
|
存储 Linux Docker
在Docker中,如何更改Docker的默认存储设置?
在Docker中,如何更改Docker的默认存储设置?
Element-Module not found: Error: Can‘t resolve ‘@element-plus/icons-vue/dist/types‘ in ‘D:\project\
Element-Module not found: Error: Can‘t resolve ‘@element-plus/icons-vue/dist/types‘ in ‘D:\project\
如何用Java写一个规范的http接口?
在平常的工作中,经常会遇到要写接口的情况,现在最常用的就是http接口,今天我就介绍一下如何去写一个规范的http接口。
|
API
escape、unescape废弃
escape、unescape废弃
252 0
|
Java API Maven
【开源视频联动物联网平台】JAIN-SIP库写一个SIP服务器
【开源视频联动物联网平台】JAIN-SIP库写一个SIP服务器
1003 0
|
NoSQL 安全 芯片
OpenOCD(三):学习OpenJTAG Config文件配置
OpenOCD(三):学习OpenJTAG Config文件配置
1027 0