Class DelegatingMethodSecurityMetadataSource
- java.lang.Object
- 
- org.springframework.security.access.method.AbstractMethodSecurityMetadataSource
- 
- org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource
 
 
- 
- All Implemented Interfaces:
- org.springframework.aop.framework.AopInfrastructureBean,- MethodSecurityMetadataSource,- SecurityMetadataSource
 
 public final class DelegatingMethodSecurityMetadataSource extends AbstractMethodSecurityMetadataSource Automatically tries a series of method definition sources, relying on the first source of metadata that provides a non-null/non-empty response. Provides automatic caching of the retrieved metadata.
- 
- 
Field Summary- 
Fields inherited from class org.springframework.security.access.method.AbstractMethodSecurityMetadataSourcelogger
 
- 
 - 
Constructor SummaryConstructors Constructor Description DelegatingMethodSecurityMetadataSource(java.util.List<MethodSecurityMetadataSource> methodSecurityMetadataSources)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<ConfigAttribute>getAllConfigAttributes()If available, returns all of theConfigAttributes defined by the implementing class.java.util.Collection<ConfigAttribute>getAttributes(java.lang.reflect.Method method, java.lang.Class<?> targetClass)java.util.List<MethodSecurityMetadataSource>getMethodSecurityMetadataSources()- 
Methods inherited from class org.springframework.security.access.method.AbstractMethodSecurityMetadataSourcegetAttributes, supports
 
- 
 
- 
- 
- 
Constructor Detail- 
DelegatingMethodSecurityMetadataSourcepublic DelegatingMethodSecurityMetadataSource(java.util.List<MethodSecurityMetadataSource> methodSecurityMetadataSources) 
 
- 
 - 
Method Detail- 
getAttributespublic java.util.Collection<ConfigAttribute> getAttributes(java.lang.reflect.Method method, java.lang.Class<?> targetClass) 
 - 
getAllConfigAttributespublic java.util.Collection<ConfigAttribute> getAllConfigAttributes() Description copied from interface:SecurityMetadataSourceIf available, returns all of theConfigAttributes defined by the implementing class.This is used by the AbstractSecurityInterceptorto perform startup time validation of eachConfigAttributeconfigured against it.- Returns:
- the ConfigAttributes ornullif unsupported
 
 - 
getMethodSecurityMetadataSourcespublic java.util.List<MethodSecurityMetadataSource> getMethodSecurityMetadataSources() 
 
- 
 
-