Constant |
Description |
Default |
kaptcha.border |
Border around kaptcha. Legal values are yes or no.(设置是否有边框 ) |
yes |
kaptcha.border.color |
Color of the border. Legal values are r,g,b (and optional alpha) or white,black,blue.(设置边框颜色) |
black
(105,179,90)
|
kaptcha.border.thickness |
Thickness of the border around kaptcha. Legal values are > 0. |
1 |
kaptcha.image.width |
Width in pixels of the kaptcha image.(设置验证码宽度) |
200 |
kaptcha.image.height |
Height in pixels of the kaptcha image.(设置验证码高度) |
50 |
kaptcha.producer.impl |
The image producer. |
com.google.code.kaptcha.impl.DefaultKaptcha |
kaptcha.textproducer.impl |
The text producer.
(获取中文)
|
com.google.code.kaptcha.text.impl.DefaultTextCreator
(org.cric.util.ChineseText)
|
kaptcha.textproducer.char.string |
The characters that will create the kaptcha. |
abcde2345678gfynmnpwx |
kaptcha.textproducer.char.length |
The number of characters to display.(设置字体个数) |
5 |
kaptcha.textproducer.font.names |
A list of comma separated font names.(设置字体样式) |
Arial, Courier(宋体,楷体,微软雅黑) |
kaptcha.textproducer.font.size |
The size of the font to use.( 设置字体大小) |
40px. |
kaptcha.textproducer.font.color |
The color to use for the font. Legal values are r,g,b.(设置字体颜色) |
black |
kaptcha.noise.impl |
The noise producer. |
com.google.code.kaptcha.impl.DefaultNoise |
kaptcha.noise.color |
The noise color. Legal values are r,g,b. |
black |
kaptcha.obscurificator.impl |
The obscurificator implementation. |
com.google.code.kaptcha.impl.WaterRipple |
kaptcha.background.impl |
The background implementation. |
com.google.code.kaptcha.impl.DefaultBackground |
kaptcha.background.clear.from |
Starting background color. Legal values are r,g,b. |
light grey |
kaptcha.background.clear.to |
Ending background color. Legal values are r,g,b. |
white |
kaptcha.word.impl |
The word renderer implementation. |
com.google.code.kaptcha.text.impl.DefaultWordRenderer |
kaptcha.session.key |
The value for the kaptcha is generated and is put into the HttpSession. This is the key value for that item in the session. |
KAPTCHA_SESSION_KEY |
kaptcha.session.date |
The date the kaptcha is generated is put into the HttpSession. This is the key value for that item in the session. |
KAPTCHA_SESSION_DATE |
相关推荐
kaptcha是一个非常实用的验证码生成工具,有了它,你可以生成各种样式的验证码,因为它是可配置的。 kaptcha工作的原理是调用com.google.code.kaptcha.servlet.KaptchaServlet,生成一个图片。同时将生成的验证码...
赠送jar包:kaptcha-2.3.2.jar; 赠送原API文档:kaptcha-2.3.2-javadoc.jar; 赠送源代码:kaptcha-2.3.2-sources.jar; 赠送Maven依赖信息文件:kaptcha-2.3.2.pom; 包含翻译后的API文档:kaptcha-2.3.2-javadoc-...
Kaptcha验证码实现(实现了属性配置的方式,这种网上没有看到)
kaptcha是Google开发的自动生成验证码插件,前段只要调用一个Servlet就能实现不同风格样式的验证码。
kaptcha-2.3.zip kaptcha-2.3.zip kaptcha-2.3.zip
Kaptcha是一个基于SimpleCaptcha的验证码开源项目。 https://code.google.com/p/kaptcha/w/list
使用Kaptcha生成随机码的一个demo
java的验证码生成工具,kaptcha2.3.2验证码jar包。
google kaptcha-2.3.2.jar验证码的jar包,google把生成验证码的操作基本的封装好了,使用起来很方便。
kaptcha下载
谷歌 kaptcha 图片验证码
Kaptcha 基于 SpringBoot 和 Google Kaptcha 的简单验证码组件,简单验证码就选它。
自用可行的验证码生成框架,下载好后解压进入到kaptcha-2.3.2/kaptcha-2.3.2,使用mvn install:install-file -Dfile=./kaptcha-2.3.2.jar -DgroupId=com.google.code.kaptcha -DartifactId=kaptcha -Dversion=2.3.2 ...
kaptcha开发的一个验证码的小程序,有想要学习的可以看看,只是一个简单的demo,更多功能还时需要看下kaptcha的源码。
实现Google的Kaptcha验证码所需要的jar包和可以参考的源码包,使用的是导入jar包,需要看源码的时候参考source包
kaptcha demo 简单的验证码工具 kaptcha demo 简单的验证码工具
com.google.code.kaptcha:2.3.2 谷歌验证码依赖下载
kaptcha验证码使用
谷歌的验证码生成工具包,下载解压,使用命令mvn install:install-file -Dfile=(你的路径)/kaptcha-2.3.2.jar -DgroupId=com.google.code.kaptcha -DartifactId=kaptcha -Dversion=2.3.2 -Dpackaging=jar安装到...