public interface CustomResourceProvider
自定义授权提供器
用户根据自己实际项目需要确定如何根据实际项目变化配置是否给予授权, 在使用时,自定义授权提供器实例会被注入到CustomAuthorizeProvider
中Modifier and Type | Method and Description |
---|---|
boolean |
hasPermission(javax.servlet.http.HttpServletRequest request,
org.springframework.security.core.Authentication auth)
自定义权限判断
|
Copyright © 2021. All rights reserved.