2020
09-27
09-27
spring boot整合scurity做简单的登录校验的实现
开发环境:springbootmaven引入:<dependency><groupId>org.springframework.security.oauth</groupId><artifactId>spring-security-oauth2</artifactId><version>2.2.1.RELEASE</version></dependency><dependency><groupId>org.springframework.security</groupId><artifactId>spring-security-jwt</artifactId><version>1.0.10.RELEASE</version></dependency>1、先在数据库创建用户表,用户名为u...
继续阅读 >