public abstract class AbstractMethodSecurityMetadataSource extends Object implements MethodSecurityMetadataSource
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
AbstractMethodSecurityMetadataSource() |
Modifier and Type | Method and Description |
---|---|
Collection<ConfigAttribute> |
getAttributes(Object object)
Accesses the
ConfigAttribute s that apply to a given secure object. |
boolean |
supports(Class<?> clazz)
Indicates whether the
SecurityMetadataSource implementation is able to
provide ConfigAttribute s for the indicated secure object type. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttributes
getAllConfigAttributes
public AbstractMethodSecurityMetadataSource()
public final Collection<ConfigAttribute> getAttributes(Object object)
SecurityMetadataSource
ConfigAttribute
s that apply to a given secure object.getAttributes
in interface SecurityMetadataSource
object
- the object being securedpublic final boolean supports(Class<?> clazz)
SecurityMetadataSource
SecurityMetadataSource
implementation is able to
provide ConfigAttribute
s for the indicated secure object type.supports
in interface SecurityMetadataSource
clazz
- the class that is being queried