org.apache.directory.api.ldap.aci.protectedItem
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.
|
Constructor Summary |
MaxImmSubItem(int value)
Creates a new instance. |
MaxImmSubItem
public MaxImmSubItem(int value)
- Creates a new instance.
- Parameters:
value - The maximum number of immediate subordinates
getValue
public int getValue()
- Gets the maximum number of immediate subordinates.
- Returns:
- the maximum number of immediate subordinates
hashCode
public int hashCode()
-
- Overrides:
hashCode in class Object
equals
public boolean equals(Object o)
-
- Overrides:
equals in class Object
toString
public String toString()
-
- Overrides:
toString in class Object
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.