java.lang.Object |
↳ |
org.springframework.security.access.method.AbstractMethodSecurityMetadataSource |
Known Direct Subclasses
|
Known Indirect Subclasses
|
Class Overview
Abstract implementation of MethodSecurityMetadataSource which resolves the secured object type to
a MethodInvocation.
Summary
Fields |
protected
final
Log |
logger |
|
Public Methods |
final
Collection<ConfigAttribute>
|
getAttributes(Object object)
Accesses the ConfigAttribute s that apply to a given secure object.
|
final
boolean
|
supports(Class<?> clazz)
Indicates whether the SecurityMetadataSource implementation is able to provide
ConfigAttribute s for the indicated secure object type.
|
Fields
protected
final
Log
logger
Public Constructors
public
AbstractMethodSecurityMetadataSource
()
Public Methods
Accesses the ConfigAttribute
s that apply to a given secure object.
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.
public
final
boolean
supports
(Class<?> clazz)
Indicates whether the SecurityMetadataSource
implementation is able to provide
ConfigAttribute
s for the indicated secure object type.
Parameters
clazz
| the class that is being queried |
Returns
- true if the implementation can process the indicated class