org.acegisecurity
public class ConfigAttributeDefinition extends java.lang.Object implements java.io.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(java.lang.Object obj) |
java.util.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 . |
java.lang.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 boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2004-2014 Interface21, Inc. All Rights Reserved.