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
@Deprecated
public final class DelegatingMethodSecurityMetadataSource
extends AbstractMethodSecurityMetadataSource
Deprecated.
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 SummaryFields inherited from class org.springframework.security.access.method.AbstractMethodSecurityMetadataSourcelogger
- 
Constructor SummaryConstructorsConstructorDescriptionDelegatingMethodSecurityMetadataSource(List<MethodSecurityMetadataSource> methodSecurityMetadataSources) Deprecated.
- 
Method SummaryModifier and TypeMethodDescriptionDeprecated.If available, returns all of theConfigAttributes defined by the implementing class.getAttributes(Method method, @Nullable Class<?> targetClass) Deprecated.Deprecated.Methods inherited from class org.springframework.security.access.method.AbstractMethodSecurityMetadataSourcegetAttributes, supports
- 
Constructor Details- 
DelegatingMethodSecurityMetadataSourcepublic DelegatingMethodSecurityMetadataSource(List<MethodSecurityMetadataSource> methodSecurityMetadataSources) Deprecated.
 
- 
- 
Method Details- 
getAttributesDeprecated.
- 
getAllConfigAttributesDeprecated.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
 
- 
getMethodSecurityMetadataSourcesDeprecated.
 
- 
use-authorization-managerattribute for<method-security>and<intercept-methods>instead or use annotation-based orAuthorizationManager-based authorization