|
||||||||||
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 ConfigAttribute
s that are associated with a given secure object target.
All the
ConfigAttributeDefinition
s 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 ConfigAttribute s defined by this
ConfigAttributeDefinition . |
int |
size()
Returns the number of ConfigAttribute s 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 Object
public Iterator getConfigAttributes()
Iterator
over all the ConfigAttribute
s defined by this
ConfigAttributeDefinition
.Allows AccessDecisionManager
s and other classes
to loop through every configuration attribute associated with a target secure object.
null
if an
Iterator
is unavailablepublic int size()
ConfigAttribute
s defined by this
ConfigAttributeDefinition
.
ConfigAttribute
s containedpublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |