# springboot-starter-security-jwt **Repository Path**: mirrors_codingapi/springboot-starter-security-jwt ## Basic Information - **Project Name**: springboot-starter-security-jwt - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-07-20 - **Last Updated**: 2026-01-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![Build Status](https://app.travis-ci.com/codingapi/springboot-starter-security-jwt.svg?branch=main)](https://app.travis-ci.com/codingapi/springboot-starter-security-jwt) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/codingapi/springboot-starter-security-jwt/blob/main/LICENSE) [![Maven Central](https://img.shields.io/maven-central/v/com.codingapi.security/springboot-starter-security-jwt.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.codingapi.security%22%20AND%20a:%22springboot-starter-security-jwt%22) # Getting Started ``` dependency> com.codingapi.security springboot-starter-security-jwt ${last.version} ``` ### framework features * support springboot security & JWT * support controller exception local message handler ### local message ``` login.error = 登陆失败 token.expire = TOKEN过期 api.error = 这是一个错误提示信息 ``` ### application.properties ``` security.jwt.properties.jwt-secret-key=YWRmc2Rhc2Rkc3h4eDEyM3NkZnNkZkFTQVNEc2RGQCMkIyRRQVNEYXNkQVNBU0RBU0RTQUZTREZTREZBU0Rkc2Rm #15分钟有效期 1000*60*15=900000 security.jwt.properties.jwt-time=900000 #10分钟后更换令牌 1000*60*10=600000 security.jwt.properties.jwt-rest-time=600000 ``` ### Reference Documentation For further reference, please consider the following sections: * [Official Apache Maven documentation](https://maven.apache.org/guides/index.html) * [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/2.7.1/maven-plugin/reference/html/) * [Create an OCI image](https://docs.spring.io/spring-boot/docs/2.7.1/maven-plugin/reference/html/#build-image) * [Spring Security](https://docs.spring.io/spring-boot/docs/2.7.1/reference/htmlsingle/#web.security) * [Spring Configuration Processor](https://docs.spring.io/spring-boot/docs/2.7.1/reference/htmlsingle/#appendix.configuration-metadata.annotation-processor) * [Spring Web](https://docs.spring.io/spring-boot/docs/2.7.1/reference/htmlsingle/#web) * [securing-web](https://spring.io/guides/gs/securing-web/) * [spring-security-without-the-websecurityconfigureradapter](https://spring.io/blog/2022/02/21/spring-security-without-the-websecurityconfigureradapter) * [springboot-security&jwt](https://blog.csdn.net/u014553029/article/details/112759382)