|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.security.access.method.AbstractMethodSecurityMetadataSource
public abstract class AbstractMethodSecurityMetadataSource
Abstract implementation of MethodSecurityMetadataSource which resolves the secured object type to either a MethodInvocation or a JoinPoint.
Field Summary | |
---|---|
protected org.apache.commons.logging.Log |
logger
|
Constructor Summary | |
---|---|
AbstractMethodSecurityMetadataSource()
|
Method Summary | |
---|---|
java.util.Collection<ConfigAttribute> |
getAttributes(java.lang.Object object)
Accesses the ConfigAttribute s that apply to a given secure object. |
boolean |
supports(java.lang.Class<?> clazz)
Indicates whether the SecurityMetadataSource implementation is able to provide
ConfigAttribute s for the indicated secure object type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.security.access.method.MethodSecurityMetadataSource |
---|
getAttributes |
Methods inherited from interface org.springframework.security.access.SecurityMetadataSource |
---|
getAllConfigAttributes |
Field Detail |
---|
protected final org.apache.commons.logging.Log logger
Constructor Detail |
---|
public AbstractMethodSecurityMetadataSource()
Method Detail |
---|
public final java.util.Collection<ConfigAttribute> getAttributes(java.lang.Object object)
SecurityMetadataSource
ConfigAttribute
s that apply to a given secure object.
Returns null
if no attributes apply.
getAttributes
in interface SecurityMetadataSource
object
- the object being secured
public final boolean supports(java.lang.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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |