Class RestrictedByItem
- java.lang.Object
-
- org.apache.directory.api.ldap.aci.ProtectedItem
-
- org.apache.directory.api.ldap.aci.protectedItem.RestrictedByItem
-
public class RestrictedByItem extends ProtectedItem
Restricts values added to the attribute type to being values that are already present in the same entry as values of the attribute valuesIn. It is examined if the protected item is an attribute value of the specified type and the permission sought is add. Values of the valuesIn attribute are checked without regard to context or access control and as though the operation which adds the values were successful. If the value to be added is not present in valuesIn the ACI item is treated as not granting add access.- Author:
- Apache Directory Project
-
-
Field Summary
-
Fields inherited from class org.apache.directory.api.ldap.aci.ProtectedItem
ALL_USER_ATTRIBUTE_TYPES, ALL_USER_ATTRIBUTE_TYPES_AND_VALUES, ENTRY
-
-
Constructor Summary
Constructors Constructor Description RestrictedByItem(Set<RestrictedByElem> items)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
Iterator<RestrictedByElem>
iterator()
Gets an iterator of allRestrictedByElem
s.String
toString()
-
-
-
Constructor Detail
-
RestrictedByItem
public RestrictedByItem(Set<RestrictedByElem> items)
Creates a new instance.- Parameters:
items
- the collection ofRestrictedByElem
s.
-
-
Method Detail
-
iterator
public Iterator<RestrictedByElem> iterator()
Gets an iterator of allRestrictedByElem
s.- Returns:
- the iterator of all
RestrictedByElem
s
-
-