public abstract class AbstractFilterInvocationDefinitionSource extends Object implements FilterInvocationDefinitionSource
FilterInvocationDefinitionSource.| Constructor and Description |
|---|
AbstractFilterInvocationDefinitionSource() |
| Modifier and Type | Method and Description |
|---|---|
ConfigAttributeDefinition |
getAttributes(Object object)
Accesses the
ConfigAttributeDefinition that applies to a given secure object. |
abstract ConfigAttributeDefinition |
lookupAttributes(String url)
Performs the actual lookup of the relevant
ConfigAttributeDefinition for the specified
FilterInvocation. |
boolean |
supports(Class clazz)
Indicates whether the
ObjectDefinitionSource implementation is able to provide
ConfigAttributeDefinitions for the indicated secure object type. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigAttributeDefinitionspublic AbstractFilterInvocationDefinitionSource()
public ConfigAttributeDefinition getAttributes(Object object) throws IllegalArgumentException
ObjectDefinitionSourceConfigAttributeDefinition that applies to a given secure object.Returns
null if no ConfigAttribiteDefinition applies.
getAttributes in interface ObjectDefinitionSourceobject - the object being securedConfigAttributeDefinition that applies to the passed objectIllegalArgumentException - if the passed object is not of a type supported by the
ObjectDefinitionSource implementationpublic abstract ConfigAttributeDefinition lookupAttributes(String url)
ConfigAttributeDefinition for the specified
FilterInvocation.
Provided so subclasses need only to provide one basic method to properly interface with the
FilterInvocationDefinitionSource.
Public visiblity so that tablibs or other view helper classes can access the
ConfigAttributeDefinition applying to a given URI pattern without needing to construct a mock
FilterInvocation and retrieving the attibutes via the getAttributes(Object) method.
url - the URI to retrieve configuration attributes forConfigAttributeDefinition that applies to the specified FilterInvocationpublic boolean supports(Class clazz)
ObjectDefinitionSourceObjectDefinitionSource implementation is able to provide
ConfigAttributeDefinitions for the indicated secure object type.supports in interface ObjectDefinitionSourceclazz - the class that is being queriedCopyright © 2016. All rights reserved.