it is SimpleSecurity,auto generate Token after login and annotated and static method satisfy your use

Compile Dependencies (6)

Category/LicenseGroup / ArtifactVersionUpdates
JWT Lib Apache 2.0
io.jsonwebtoken » jjwt
The public API for the JJWT library, used to create and consume JSON Web Tokens in Java.
0.9.10.13.0
Web Framework Apache 2.0
org.springframework.boot » spring-boot-starter-web1 vulnerability
Starter for building web, including RESTful, applications using Spring MVC. Uses Tomcat as the default embedded ...
2.6.04.1.0
Apache 2.0
org.springframework.boot » spring-boot-starter-data-redis
Starter for using Redis key-value data store with Spring Data Redis and the Lettuce client
2.6.04.1.0
AOP Apache 2.0
org.springframework.boot » spring-boot-starter-aop
Starter for aspect-oriented programming with Spring AOP and AspectJ
2.6.03.5.16
Annotation Tool Apache 2.0
org.springframework.boot » spring-boot-autoconfigure-processor(optional)
Spring Boot AutoConfigure Annotation Processor
2.6.04.1.0
App Server Apache 2.0
org.springframework.boot » spring-boot-starter
Core starter, including auto-configuration support, logging and YAML
2.6.04.1.0