2023-8-1起 废弃本项目,代码示例均在spring-boot-auth-starter的test
中体现
spring-boot-auth-starter
基于Spring Boot Web
的权限拦截验证示例
- 需要自定义的相关内容放置在:
com.boot.auth.example.custom
其中除了RolesConstant
外其他都为非必须内容 @Auth 、@NoAuthGetSession 、@IgnoreLogin、@OperLog
相关注解使用参见com.boot.auth.example.controllers