|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.acegisecurity.ConfigAttributeDefinition
public class ConfigAttributeDefinition
Holds a group of ConfigAttributes that are associated with a given secure object target.
All the
ConfigAttributeDefinitions associated with a given AbstractSecurityInterceptor are stored in an ObjectDefinitionSource.
| Constructor Summary | |
|---|---|
ConfigAttributeDefinition()
|
|
| Method Summary | |
|---|---|
void |
addConfigAttribute(ConfigAttribute newConfigAttribute)
Adds a ConfigAttribute that is related to the secure object method. |
boolean |
contains(ConfigAttribute configAttribute)
Indicates whether the specified ConfigAttribute is contained within this
ConfigAttributeDefinition. |
boolean |
equals(Object obj)
|
Iterator |
getConfigAttributes()
Returns an Iterator over all the ConfigAttributes defined by this
ConfigAttributeDefinition. |
int |
size()
Returns the number of ConfigAttributes defined by this
ConfigAttributeDefinition. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigAttributeDefinition()
| Method Detail |
|---|
public void addConfigAttribute(ConfigAttribute newConfigAttribute)
ConfigAttribute that is related to the secure object method.
newConfigAttribute - the new configuration attribute to addpublic boolean contains(ConfigAttribute configAttribute)
ConfigAttribute is contained within this
ConfigAttributeDefinition.
configAttribute - the attribute to locate
true if the specified ConfigAttribute is contained, false
otherwisepublic boolean equals(Object obj)
equals in class Objectpublic Iterator getConfigAttributes()
Iterator over all the ConfigAttributes defined by this
ConfigAttributeDefinition.Allows AccessDecisionManagers and other classes
to loop through every configuration attribute associated with a target secure object.
null if an
Iterator is unavailablepublic int size()
ConfigAttributes defined by this
ConfigAttributeDefinition.
ConfigAttributes containedpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||