org.acegisecurity.intercept
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.Iterator |
getConfigAttributeDefinitions()
If available, all of the
ConfigAttributeDefinition s defined by the implementing class. |
boolean |
supports(java.lang.Class clazz)
Indicates whether the
ObjectDefinitionSource implementation is able to provide
ConfigAttributeDefinition s 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.Iterator 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(java.lang.Class clazz)
ObjectDefinitionSource
implementation is able to provide
ConfigAttributeDefinition
s for the indicated secure object type.clazz
- the class that is being queriedCopyright © 2004-2014 Interface21, Inc. All Rights Reserved.