public interface ObjectDefinitionSource
ConfigAttributeDefinition
that applies to a given secure object
invocation.Modifier and Type | Method and Description |
---|---|
ConfigAttributeDefinition |
getAttributes(Object object)
Accesses the
ConfigAttributeDefinition that applies to a given secure object. |
Iterator |
getConfigAttributeDefinitions()
If available, all of the
ConfigAttributeDefinition s defined by the implementing class. |
boolean |
supports(Class clazz)
Indicates whether the
ObjectDefinitionSource implementation is able to provide
ConfigAttributeDefinition s for the indicated secure object type. |
ConfigAttributeDefinition getAttributes(Object object) throws 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 objectIllegalArgumentException
- if the passed object is not of a type supported by the
ObjectDefinitionSource
implementationIterator getConfigAttributeDefinitions()
ConfigAttributeDefinition
s defined by the implementing class.This
is used by the AbstractSecurityInterceptor
to perform startup time validation of each
ConfigAttribute
configured against it.
ConfigAttributeDefinition
s or null
if unsupportedboolean supports(Class clazz)
ObjectDefinitionSource
implementation is able to provide
ConfigAttributeDefinition
s for the indicated secure object type.clazz
- the class that is being queriedCopyright © 2017. All rights reserved.