Class AbstractMethodSecurityMetadataSource
java.lang.Object
org.springframework.security.access.method.AbstractMethodSecurityMetadataSource
- All Implemented Interfaces:
- org.springframework.aop.framework.AopInfrastructureBean,- MethodSecurityMetadataSource,- SecurityMetadataSource
- Direct Known Subclasses:
- AbstractFallbackMethodSecurityMetadataSource,- DelegatingMethodSecurityMetadataSource,- PrePostAnnotationSecurityMetadataSource
@Deprecated
public abstract class AbstractMethodSecurityMetadataSource
extends Object
implements MethodSecurityMetadataSource
Deprecated.
Abstract implementation of MethodSecurityMetadataSource which resolves the
 secured object type to a MethodInvocation.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final org.apache.commons.logging.LogDeprecated.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal Collection<ConfigAttribute>getAttributes(Object object) Deprecated.Accesses theConfigAttributes that apply to a given secure object.final booleanDeprecated.Indicates whether theSecurityMetadataSourceimplementation is able to provideConfigAttributes for the indicated secure object type.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.access.method.MethodSecurityMetadataSourcegetAttributesMethods inherited from interface org.springframework.security.access.SecurityMetadataSourcegetAllConfigAttributes
- 
Field Details- 
loggerprotected final org.apache.commons.logging.Log loggerDeprecated.
 
- 
- 
Constructor Details- 
AbstractMethodSecurityMetadataSourcepublic AbstractMethodSecurityMetadataSource()Deprecated.
 
- 
- 
Method Details- 
getAttributesDeprecated.Description copied from interface:SecurityMetadataSourceAccesses theConfigAttributes that apply to a given secure object.- Specified by:
- getAttributesin interface- SecurityMetadataSource
- Parameters:
- object- the object being secured
- Returns:
- the attributes that apply to the passed in secured object. Should return an empty collection if there are no applicable attributes.
 
- 
supportsDeprecated.Description copied from interface:SecurityMetadataSourceIndicates whether theSecurityMetadataSourceimplementation is able to provideConfigAttributes for the indicated secure object type.- Specified by:
- supportsin interface- SecurityMetadataSource
- Parameters:
- clazz- the class that is being queried
- Returns:
- true if the implementation can process the indicated class
 
 
- 
use-authorization-managerattribute for<method-security>and<intercept-methods>instead or use annotation-based orAuthorizationManager-based authorization