|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.acegisecurity.intercept.web.AbstractFilterInvocationDefinitionSource
public abstract class AbstractFilterInvocationDefinitionSource
Abstract implementation of FilterInvocationDefinitionSource.
| Constructor Summary | |
|---|---|
AbstractFilterInvocationDefinitionSource()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.acegisecurity.intercept.ObjectDefinitionSource |
|---|
getConfigAttributeDefinitions |
| Constructor Detail |
|---|
public AbstractFilterInvocationDefinitionSource()
| Method Detail |
|---|
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 secured
ConfigAttributeDefinition that applies to the
passed object
IllegalArgumentException - 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 for
ConfigAttributeDefinition 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 queried
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||