org.apache.directory.shared.ldap.aci
Class ProtectedItem.SelfValue

java.lang.Object
  extended byorg.apache.directory.shared.ldap.aci.ProtectedItem
      extended byorg.apache.directory.shared.ldap.aci.ProtectedItem.AttributeTypeProtectedItem
          extended byorg.apache.directory.shared.ldap.aci.ProtectedItem.SelfValue
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ProtectedItem

public static class ProtectedItem.SelfValue
extends org.apache.directory.shared.ldap.aci.ProtectedItem.AttributeTypeProtectedItem

The attribute value assertion corresponding to the current requestor. The protected item selfValue applies only when the access controls are to be applied with respect to a specific authenticated user. It can only apply in the specific case where the attribute specified is of DN and the attribute value within the specified attribute matches the DN of the originator of the operation.

See Also:
Serialized Form

Nested Class Summary
 
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
 
Field Summary
protected  java.util.Collection attributeTypes
           
 
Fields inherited from class org.apache.directory.shared.ldap.aci.ProtectedItem
ALL_USER_ATTRIBUTE_TYPES, ALL_USER_ATTRIBUTE_TYPES_AND_VALUES, ENTRY
 
Constructor Summary
ProtectedItem.SelfValue(java.util.Collection attributeTypes)
          Creates a new instance.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.util.Iterator iterator()
          Returns an iterator of all attribute IDs.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

attributeTypes

protected final java.util.Collection attributeTypes
Constructor Detail

ProtectedItem.SelfValue

public ProtectedItem.SelfValue(java.util.Collection attributeTypes)
Creates a new instance.

Parameters:
attributeTypes - the collection of attribute IDs.
Method Detail

toString

public java.lang.String toString()

iterator

public java.util.Iterator iterator()
Returns an iterator of all attribute IDs.


equals

public boolean equals(java.lang.Object o)


Copyright © 2003-2006 . All Rights Reserved.