public class ConfigAttributeDefinition extends Object implements Serializable
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 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 ConfigAttribute s defined by this
ConfigAttributeDefinition . |
int |
size()
Returns the number of
ConfigAttribute s 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 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 containedCopyright © 2017. All rights reserved.