Class MaxImmSubItem
- java.lang.Object
-
- org.apache.directory.api.ldap.aci.ProtectedItem
-
- org.apache.directory.api.ldap.aci.protectedItem.MaxImmSubItem
-
public class MaxImmSubItem extends ProtectedItem
Restricts the maximum number of immediate subordinates of the superior entry to an entry being added or imported. It is examined if the protected item is an entry, the permission sought is add or import, and the immediate superior entry is in the same DSA as the entry being added or imported. Immediate subordinates of the superior entry are counted without regard to context or access control as though the entry addition or importing were successful. If the number of subordinates exceeds maxImmSub, the ACI item is treated as not granting add or import 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 MaxImmSubItem(int value)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
getValue()
Gets the maximum number of immediate subordinates.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
MaxImmSubItem
public MaxImmSubItem(int value)
Creates a new instance.- Parameters:
value
- The maximum number of immediate subordinates
-
-
Method Detail
-
getValue
public int getValue()
Gets the maximum number of immediate subordinates.- Returns:
- the maximum number of immediate subordinates
-
-