public interface ObjectDefinitionSource
ConfigAttributeDefinition that applies to a given secure object
invocation.| Modifier and Type | Method and Description |
|---|---|
ConfigAttributeDefinition |
getAttributes(java.lang.Object object)
Accesses the
ConfigAttributeDefinition that applies to a given secure object. |
java.util.Collection |
getConfigAttributeDefinitions()
If available, returns all of the
ConfigAttributeDefinitions defined by the implementing class. |
boolean |
supports(java.lang.Class clazz)
Indicates whether the
ObjectDefinitionSource implementation is able to provide
ConfigAttributeDefinitions for the indicated secure object type. |
ConfigAttributeDefinition getAttributes(java.lang.Object object) throws java.lang.IllegalArgumentException
ConfigAttributeDefinition that applies to a given secure object.Returns
null if no ConfigAttribiteDefinition applies.
object - the object being securedConfigAttributeDefinition that applies to the passed objectjava.lang.IllegalArgumentException - if the passed object is not of a type supported by the
ObjectDefinitionSource implementationjava.util.Collection getConfigAttributeDefinitions()
ConfigAttributeDefinitions defined by the implementing class.
This is used by the AbstractSecurityInterceptor to perform startup time validation of each
ConfigAttribute configured against it.
ConfigAttributeDefinitions or null if unsupportedboolean supports(java.lang.Class clazz)
ObjectDefinitionSource implementation is able to provide
ConfigAttributeDefinitions for the indicated secure object type.clazz - the class that is being queried