org.apache.directory.shared.ldap.aci
Class ProtectedItem.MaxImmSub
java.lang.Object
org.apache.directory.shared.ldap.aci.ProtectedItem
org.apache.directory.shared.ldap.aci.ProtectedItem.MaxImmSub
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- ProtectedItem
- public static class ProtectedItem.MaxImmSub
- 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.
- See Also:
- Serialized Form
Nested classes inherited from class org.apache.directory.shared.ldap.aci.ProtectedItem |
ProtectedItem.AllAttributeValues, ProtectedItem.AllUserAttributeTypes, ProtectedItem.AllUserAttributeTypesAndValues, ProtectedItem.AttributeType, ProtectedItem.AttributeValue, ProtectedItem.Classes, ProtectedItem.Entry, ProtectedItem.MaxImmSub, ProtectedItem.MaxValueCount, ProtectedItem.MaxValueCountItem, ProtectedItem.RangeOfValues, ProtectedItem.RestrictedBy, ProtectedItem.RestrictedByItem, ProtectedItem.SelfValue |
Method Summary |
boolean |
equals(java.lang.Object o)
|
int |
getValue()
Returns the maximum number of immediate subordinates. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ProtectedItem.MaxImmSub
public ProtectedItem.MaxImmSub(int value)
- Creates a new instance.
- Parameters:
value
- The maximum number of immediate subordinates
getValue
public int getValue()
- Returns the maximum number of immediate subordinates.
equals
public boolean equals(java.lang.Object o)
toString
public java.lang.String toString()
Copyright © 2003-2006 . All Rights Reserved.