2021
01-21
01-21
SpringSecurity+JWT实现前后端分离的使用详解
创建一个配置类SecurityConfig继承WebSecurityConfigurerAdapterpackagetop.ryzeyang.demo.common.config;importorg.springframework.context.annotation.Bean;importorg.springframework.security.access.hierarchicalroles.RoleHierarchy;importorg.springframework.security.access.hierarchicalroles.RoleHierarchyImpl;importorg.springframework.security.authentication.AuthenticationManager;importorg.springfr...
继续阅读 >