1 Star 2 Fork 0

学习教程/spring-security-jwt

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 1.66 KB
一键复制 编辑 原始数据 按行查看 历史
plugins {
id 'org.springframework.boot' version '2.7.18'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java-library'
}
group = 'org.xian'
version = '0.0.1-SNAPSHOT'
//sourceCompatibility = '11'
repositories {
mavenLocal()
maven {
url "https://mirrors.huaweicloud.com/repository/maven/"
name = "华为开源镜像库"
}
maven { url 'https://maven.aliyun.com/repository/public/' }
maven { url "https://repo.spring.io/libs-release" }
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation group: 'com.baomidou', name: 'mybatis-plus-boot-starter', version: '3.5.5'
// 必须是jdk11
implementation 'com.zaxxer:HikariCP:5.1.0'
runtimeOnly 'mysql:mysql-connector-java:8.0.31'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
// https://github.com/jwtk/jjwt
implementation 'io.jsonwebtoken:jjwt-api:0.11.1'
implementation 'io.jsonwebtoken:jjwt-impl:0.11.1',
// Uncomment the next line if you want to use RSASSA-PSS (PS256, PS384, PS512) algorithms:
//'org.bouncycastle:bcprov-jdk15on:1.60',
// or 'io.jsonwebtoken:jjwt-gson:0.11.1' for gson
'io.jsonwebtoken:jjwt-jackson:0.11.1'
// api 'org.hibernate:hibernate-validator:5.2.1.Final'
// api 'org.hibernate:hibernate-validator-annotation-processor:5.2.1.Final'
}
springBoot {
buildInfo()
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/eric-tutorial/spring-security-jwt.git
git@gitee.com:eric-tutorial/spring-security-jwt.git
eric-tutorial
spring-security-jwt
spring-security-jwt
master

搜索帮助