@CompileStatic@groovy.transform.CompileStatic class RoleAccessDecisionVoter extends Object
注册到 AuthenticatedVetoableDecisionManager 中,实现 Requestmap 的角色校验。
| Type | Name and description |
|---|---|
SecRoleService |
secRoleService角色鉴权服务:动态注入 |
| Type | Name and description |
|---|---|
boolean |
supports(org.springframework.security.access.ConfigAttribute attribute) |
boolean |
supports(Class<?> clazz) |
int |
vote(org.springframework.security.core.Authentication authentication, Object object, Collection<org.springframework.security.access.ConfigAttribute> attributes)鉴权 |
| Methods inherited from class | Name |
|---|---|
class Object |
Object#wait(long, int), Object#wait(long), Object#wait(), Object#equals(Object), Object#toString(), Object#hashCode(), Object#getClass(), Object#notify(), Object#notifyAll() |
角色鉴权服务:动态注入