|
||||||||||
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(java.lang.Object object)
Accesses the ConfigAttributeDefinition that applies to a given secure object. |
abstract ConfigAttributeDefinition |
lookupAttributes(java.lang.String url)
Performs the actual lookup of the relevant ConfigAttributeDefinition for the specified
FilterInvocation . |
boolean |
supports(java.lang.Class clazz)
Indicates whether the ObjectDefinitionSource implementation is able to provide
ConfigAttributeDefinition s 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(java.lang.Object object) throws java.lang.IllegalArgumentException
ObjectDefinitionSource
ConfigAttributeDefinition
that applies to a given secure object.Returns
null
if no ConfigAttribiteDefinition
applies.
getAttributes
in interface ObjectDefinitionSource
object
- the object being secured
ConfigAttributeDefinition
that applies to the passed object
java.lang.IllegalArgumentException
- if the passed object is not of a type supported by the
ObjectDefinitionSource
implementationpublic abstract ConfigAttributeDefinition lookupAttributes(java.lang.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 FilterInvocation
public boolean supports(java.lang.Class clazz)
ObjectDefinitionSource
ObjectDefinitionSource
implementation is able to provide
ConfigAttributeDefinition
s for the indicated secure object type.
supports
in interface ObjectDefinitionSource
clazz
- the class that is being queried
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |