2020
10-10
10-10
Spring Security学习笔记(一)
介绍这里学习SpringSecurity,对SpringSecurity进行学习。基本用法添加依赖<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-security</artifactId></dependency>添加接口packagecom.example.demo.web;importorg.springframework.web.bind.annotation.RequestMapping;importorg.springframework.web.bind.annotation.RestController;@RestController@RequestMapping("/test")publi...
继续阅读 >