分类

其它应用

kaptcha2.3.2.jar(java验证工具包)

kaptcha2.3.2.jar(java验证工具包) 2017 官方版

大小:375 KB

语言:简体中文系统:WinXP, Win7, Win8, Win10, WinAll

类别:其它应用时间:2017-04-07

  kaptcha2.3.2.jar是一个非常实用的JAVA的开源验证码工具包;它也是个验证码的生产工具,大家提过这个包,即可以快速的生产各种各样的验证码,而且都是可以进行配置的;这个包的使用非常的简单,操作也方便,是款非常值得信赖的软件,而且包里面还包括了许多的文件可以使用,需要的朋友赶快将kaptcha2.3.2.jar(java验证工具包)下载来使用试试吧!

kaptcha2.3.2.jar(java验证工具包) 2017 官方版

软件功能

  kaptcha.border图片边框,合法值:yes , noyes

  kaptcha.border.color边框颜色,合法值: r,g,b (and optional alpha) 或者 white,black,blue.black

  kaptcha.border.thickness边框厚度,合法值:>01

  kaptcha.image.width图片宽200

  kaptcha.image.height图片高50

  kaptcha.producer.impl图片实现类com.google.code.kaptcha.impl.DefaultKaptcha

  kaptcha.textproducer.impl文本实现类com.google.code.kaptcha.text.impl.DefaultTextCreator

  kaptcha.textproducer.char.string文本集合,验证码值从此集合中获取abcde2345678gfynmnpwx

  kaptcha.textproducer.char.length验证码长度5

  kaptcha.textproducer.font.names字体Arial, Courier

  kaptcha.textproducer.font.size字体大小40px.

  kaptcha.textproducer.font.color字体颜色,合法值: r,g,b 或者 white,black,blue.black

  kaptcha.textproducer.char.space文字间隔2

  kaptcha.noise.impl干扰实现类com.google.code.kaptcha.impl.DefaultNoise

  kaptcha.noise.color干扰颜色,合法值: r,g,b 或者 white,black,blue.black

  kaptcha.obscurificator.impl图片样式:

  水纹com.google.code.kaptcha.impl.WaterRipple

  鱼眼com.google.code.kaptcha.impl.FishEyeGimpy

  阴影com.google.code.kaptcha.impl.ShadowGimpycom.google.code.kaptcha.impl.WaterRipple

  kaptcha.background.impl背景实现类com.google.code.kaptcha.impl.DefaultBackground

  kaptcha.background.clear.from背景颜色渐变,开始颜色light grey

  kaptcha.background.clear.to背景颜色渐变,结束颜色white

  kaptcha.word.impl文字渲染器com.google.code.kaptcha.text.impl.DefaultWordRenderer

  kaptcha.session.keysession keyKAPTCHA_SESSION_KEY

  kaptcha.session.datesession dateKAPTCHA_SESSION_DATE

软件特色

  kaptcha工作的原理是调用 com.google.code.kaptcha.servlet.KaptchaServlet

  生成一个图片

  同时将生成的验证码字符串放到 HttpSession中

包含文件

  META-INF / MANIFEST.MF

  com.google.code.kaptcha.BackgroundProducer.class

  com.google.code.kaptcha.Constants.class

  com.google.code.kaptcha.GimpyEngine.class

  com.google.code.kaptcha.NoiseProducer.class

  com.google.code.kaptcha.Producer.class

  com.google.code.kaptcha.impl.DefaultBackground.class

  com.google.code.kaptcha.impl.DefaultKaptcha.class

  com.google.code.kaptcha.impl.DefaultNoise.class

  com.google.code.kaptcha.impl.FishEyeGimpy.class

  com.google.code.kaptcha.impl.NoNoise.class

  com.google.code.kaptcha.impl.ShadowGimpy.class

  com.google.code.kaptcha.impl.WaterRipple.class

  com.google.code.kaptcha.servlet.KaptchaServlet.class

  com.google.code.kaptcha.text.TextProducer.class

  com.google.code.kaptcha.text.WordRenderer.class

  com.google.code.kaptcha.text.impl.ChineseTextProducer.class

  com.google.code.kaptcha.text.impl.DefaultTextCreator.class

  com.google.code.kaptcha.text.impl.DefaultWordRenderer.class

  com.google.code.kaptcha.text.impl.FiveLetterFirstNameTextCreator.class

  com.google.code.kaptcha.util.Config.class

  com.google.code.kaptcha.util.ConfigException.class

  com.google.code.kaptcha.util.ConfigHelper.class

  com.google.code.kaptcha.util.Configurable.class

  com.jhlabs.composite.AddComposite.class

  com.jhlabs.composite.AverageComposite.class

  com.jhlabs.composite.BurnComposite.class

  com.jhlabs.composite.ColorBurnComposite.class

  com.jhlabs.composite.ColorComposite.class

  com.jhlabs.composite.ColorDodgeComposite.class

  com.jhlabs.composite.ContourComposite.class

  com.jhlabs.composite.ContourCompositeContext.class

  com.jhlabs.composite.DarkenComposite.class

  com.jhlabs.composite.DifferenceComposite.class

  com.jhlabs.composite.DodgeComposite.class

  com.jhlabs.composite.ExclusionComposite.class

  com.jhlabs.composite.HardLightComposite.class

  com.jhlabs.composite.HueComposite.class

  com.jhlabs.composite.LightenComposite.class

  com.jhlabs.composite.MiscComposite.class

  com.jhlabs.composite.MiscCompositeContext.class

  com.jhlabs.composite.MultiplyComposite.class

  com.jhlabs.composite.NegationComposite.class

  com.jhlabs.composite.OverlayComposite.class

  com.jhlabs.composite.PinLightComposite.class

  com.jhlabs.composite.RGBComposite.class

  com.jhlabs.composite.SaturationComposite.class

  com.jhlabs.composite.ScreenComposite.class

  com.jhlabs.composite.SoftLightComposite.class

  com.jhlabs.composite.SubtractComposite.class

  com.jhlabs.composite.ValueComposite.class

  com.jhlabs.image.AbstractBufferedImageOp.class

  com.jhlabs.image.ApplyMaskFilter.class

使用说明

  1、把下载的kaptcha-2.3.2.jar添加到lib中

  2、配置web.xml增加servlet

kaptcha2.3.2.jar(java验证工具包) 2017 官方版

  3、在jsp页面中

kaptcha2.3.2.jar(java验证工具包) 2017 官方版

  4、KaptchaServlet会把验证码设置到session中,可以如下方式获取

kaptcha2.3.2.jar(java验证工具包) 2017 官方版

  5、如果是struts2的action,可以如下方式获取

kaptcha2.3.2.jar(java验证工具包) 2017 官方版

  6、如果想设置点击图片更换验证码,可以加上如下js,需要jquery

kaptcha2.3.2.jar(java验证工具包) 2017 官方版

  7、或者来点fade效果

kaptcha2.3.2.jar(java验证工具包) 2017 官方版

∨ 展开

网友评论

我要跟帖
取消
所有评论 共 0