Skip to content

ymcao/spring-boot-security

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-boot-security

手把手教你创建使用TOKEN以及权限控制

1.spring-boot mybatis 2.spring-boot scurity 3.JWT 4.Redis+Mysql

build.gradle

dependencies {
    testCompile group: 'junit', name: 'junit', version: '4.11'
    runtime('mysql:mysql-connector-java')
    compile("org.springframework.boot:spring-boot-starter-web")
      compile "org.mybatis.spring.boot:mybatis-spring-boot-starter:1.1.1"
    compile ("org.springframework.boot:spring-boot-starter-thymeleaf")
    compile ("org.springframework.boot:spring-boot-starter-security")
    compile group: 'io.jsonwebtoken', name: 'jjwt', version: '0.7.0'
    compile 'org.springframework.mobile:spring-mobile-device:1.1.5.RELEASE'
    compile 'javax.servlet:javax.servlet-api:3.1.0'
}

Thanks for https://github.com/spring-projects/spring-boot

ScreenShot:

Image

Image

Next Plan
2. Add Auth2.0

About

spring-boot token restful spring-security

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published