org.apache.directory.shared.ldap.aci
Class ACIItem

java.lang.Object
  extended byorg.apache.directory.shared.ldap.aci.ACIItem
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ItemFirstACIItem, UserFirstACIItem

public abstract class ACIItem
extends java.lang.Object
implements java.io.Serializable

An abstract class that provides common properties and operations for ItemFirstACIItem and UserFirstACIItem as specified X.501 specification.

Version:
$Rev: 379008 $, $Date: 2006-02-20 04:35:07 +0100 (Mon, 20 Feb 2006) $
Author:
The Apache Directory Project
See Also:
Serialized Form

Constructor Summary
protected ACIItem(java.lang.String identificationTag, int precedence, AuthenticationLevel authenticationLevel)
          Creates a new instance
 
Method Summary
 AuthenticationLevel getAuthenticationLevel()
          Returns the level of authentication required to this item.
 java.lang.String getIdentificationTag()
          Returns the id string of this item.
 int getPrecedence()
          Returns the precedence of this item.
protected static java.util.Set toMicroOperations(java.util.Set grantsAndDenials)
          Converts a set of GrantAndDenials into a set of MicroOperations and returns it.
abstract  java.util.Collection toTuples()
          Converts this item into a collection of ACITuples and returns it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ACIItem

protected ACIItem(java.lang.String identificationTag,
                  int precedence,
                  AuthenticationLevel authenticationLevel)
Creates a new instance

Parameters:
identificationTag - the id string of this item
precedence - the precedence of this item
authenticationLevel - the level of authentication required to this item
Method Detail

getIdentificationTag

public java.lang.String getIdentificationTag()
Returns the id string of this item.


getPrecedence

public int getPrecedence()
Returns the precedence of this item.


getAuthenticationLevel

public AuthenticationLevel getAuthenticationLevel()
Returns the level of authentication required to this item.


toTuples

public abstract java.util.Collection toTuples()
Converts this item into a collection of ACITuples and returns it.


toMicroOperations

protected static java.util.Set toMicroOperations(java.util.Set grantsAndDenials)
Converts a set of GrantAndDenials into a set of MicroOperations and returns it.



Copyright © 2003-2006 . All Rights Reserved.