public class ConfigAttributeDefinition extends Object implements Serializable
ConfigAttributes that are associated with a given secure object target.All the
ConfigAttributeDefinitions associated with a given AbstractSecurityInterceptor are stored in an ObjectDefinitionSource.
| Constructor and Description |
|---|
ConfigAttributeDefinition() |
| Modifier and Type | Method and Description |
|---|---|
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() |
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 locatetrue if the specified ConfigAttribute is contained, false
otherwisepublic 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 containedCopyright © 2021. All rights reserved.