kaptcha-spring-boot-autoconfigure

kaptcha integration with springboot.

License

License

Categories

Categories

Spring Boot Container Microservices Auto Application Layer Libs Code Generators config Configuration
GroupId

GroupId

com.cuisongliu
ArtifactId

ArtifactId

kaptcha-spring-boot-autoconfigure
Last Version

Last Version

1.3
Release Date

Release Date

Type

Type

jar
Description

Description

kaptcha-spring-boot-autoconfigure
kaptcha integration with springboot.
Project URL

Project URL

https://github.com/cuisongliu/kaptcha-boot-starter
Source Code Management

Source Code Management

https://github.com/cuisongliu/kaptcha-boot-starter

Download kaptcha-spring-boot-autoconfigure

How to add to project

<!-- https://jarcasting.com/artifacts/com.cuisongliu/kaptcha-spring-boot-autoconfigure/ -->
<dependency>
    <groupId>com.cuisongliu</groupId>
    <artifactId>kaptcha-spring-boot-autoconfigure</artifactId>
    <version>1.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.cuisongliu/kaptcha-spring-boot-autoconfigure/
implementation 'com.cuisongliu:kaptcha-spring-boot-autoconfigure:1.3'
// https://jarcasting.com/artifacts/com.cuisongliu/kaptcha-spring-boot-autoconfigure/
implementation ("com.cuisongliu:kaptcha-spring-boot-autoconfigure:1.3")
'com.cuisongliu:kaptcha-spring-boot-autoconfigure:jar:1.3'
<dependency org="com.cuisongliu" name="kaptcha-spring-boot-autoconfigure" rev="1.3">
  <artifact name="kaptcha-spring-boot-autoconfigure" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.cuisongliu', module='kaptcha-spring-boot-autoconfigure', version='1.3')
)
libraryDependencies += "com.cuisongliu" % "kaptcha-spring-boot-autoconfigure" % "1.3"
[com.cuisongliu/kaptcha-spring-boot-autoconfigure "1.3"]

Dependencies

compile (1)

Group / Artifact Type Version
com.github.penggle : kaptcha jar 2.3.2

Project Modules

There are no modules declared in this project.

license license

Kaptcha integration with beetl

Kaptcha-Spring-Boot-Starter 帮助你集成通用 Kaptcha 到 Spring Boot。

Kaptcha-Spring-Boot-Starter will help you use Kaptcha with Spring Boot.

How to use

maven

在pom.xml加入nexus资源库(解决中国访问慢的问题,已经加入中央仓库)

Add the following nexus repository(fix china access slow problem,already append to central nexus.) to your pom.xml:

<repositories>
    <repository>
        <id>nexus</id>
        <name>nexus</name>
        <url>http://maven.cuisongliu.com/content/groups/public</url>
        <releases>
            <enabled>true</enabled>
        </releases>
        <snapshots>
            <enabled>false</enabled>
        </snapshots>
    </repository>
</repositories>

在pom.xml加入依赖

Add the following dependency to your pom.xml:

<dependency>
   <groupId>com.cuisongliu</groupId>
   <artifactId>kaptcha-spring-boot-starter</artifactId>
   <version>1.3</version>
 </dependency>

gradle

在build.gradle加入nexus资源库(解决中国访问慢的问题,已经加入中央仓库)

Add the following nexus repository(fix china access slow problem,already append to central nexus.) to your build.gradle:

allprojects {
    repositories {
        mavenLocal()
        maven { url "http://maven.cuisongliu.com/content/groups/public" }
        mavenCentral()
        jcenter()
    }
}

在build.gradle加入依赖

Add the following dependency to your build.gradle:

compile "com.cuisongliu:kaptcha-spring-boot-starter:1+"

Example

  spring:  
    kaptcha:
        enable: true
        properties:
          kaptcha.border: no
          kaptcha.border.color: 105,179,90
          kaptcha.textproducer.font.color: blue
          kaptcha.image.width: "125"
          kaptcha.image.height: "45"
          kaptcha.textproducer.font.size: "45"
          kaptcha.session.key: KAPTCHA_SESSION_KEY
          kaptcha.textproducer.char.length: "4"
          kaptcha.textproducer.font.names: 宋体,楷体,微软雅黑
        suffix: suffix

Warning

KaptchaController already define. You can't new the controller that names is KaptchaController.

Acknowledgments

Kaptcha.

Versions

Version
1.3
1.2
1.1
1.0