文章目录
SecurityMetadataSource
Declared
package org.springframework.security.access;
public interface SecurityMetadataSource extends AopInfrastructureBean
Class Jdoc
用于存储和识别给定安全访问的ConfigAttributes的实现。
//用于查询权限
getAttributes
Declared
Collection<ConfigAttribute> getAttributes(Object object)
throws IllegalArgumentException;
Method Jdoc
访问应用于给定安全对象的ConfigAttributes。
getAllConfigAttributes
Declared
Collection<ConfigAttribute> getAllConfigAttributes();
Method Jdoc
如果可用,则返回由实现类定义的所有ConfigAttributes。
AbstractSecurityInterceptor使用它对配置的每个ConfigAttribute执行启动时验证。
supports
Declared
boolean supports(Class<?> clazz);