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
 
 public abstract class AbstractMethodSecurityMetadataSource extends java.lang.Object implements MethodSecurityMetadataSource Abstract implementation of MethodSecurityMetadataSource which resolves the secured object type to a MethodInvocation.
- 
- 
Field SummaryFields Modifier and Type Field Description protected org.apache.commons.logging.Loglogger
 - 
Constructor SummaryConstructors Constructor Description AbstractMethodSecurityMetadataSource()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<ConfigAttribute>getAttributes(java.lang.Object object)Accesses theConfigAttributes that apply to a given secure object.booleansupports(java.lang.Class<?> clazz)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, wait
 - 
Methods inherited from interface org.springframework.security.access.method.MethodSecurityMetadataSourcegetAttributes
 - 
Methods inherited from interface org.springframework.security.access.SecurityMetadataSourcegetAllConfigAttributes
 
- 
 
- 
- 
- 
Method Detail- 
getAttributespublic final java.util.Collection<ConfigAttribute> getAttributes(java.lang.Object object) 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.
 
 - 
supportspublic final boolean supports(java.lang.Class<?> clazz) 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
 
 
- 
 
-