|
Spring Security Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ObjectDefinitionSource
Implemented by classes that store and can identify the ConfigAttributeDefinition that applies to a given secure object
invocation.
| Method Summary | |
|---|---|
ConfigAttributeDefinition |
getAttributes(Object object)
Accesses the ConfigAttributeDefinition that applies to a given secure object. |
Collection |
getConfigAttributeDefinitions()
If available, returns all of the ConfigAttributeDefinitions defined by the implementing class. |
boolean |
supports(Class clazz)
Indicates whether the ObjectDefinitionSource implementation is able to provide
ConfigAttributeDefinitions for the indicated secure object type. |
| Method Detail |
|---|
ConfigAttributeDefinition getAttributes(Object object)
throws IllegalArgumentException
ConfigAttributeDefinition that applies to a given secure object.Returns
null if no ConfigAttribiteDefinition applies.
object - 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 implementationCollection getConfigAttributeDefinitions()
ConfigAttributeDefinitions defined by the implementing class.
This is used by the AbstractSecurityInterceptor to perform startup time validation of each
ConfigAttribute configured against it.
ConfigAttributeDefinitions or null if unsupportedboolean supports(Class clazz)
ObjectDefinitionSource implementation is able to provide
ConfigAttributeDefinitions for the indicated secure object type.
clazz - the class that is being queried
|
Spring Security Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||