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

java.lang.Object
  extended byorg.apache.directory.shared.ldap.aci.ACIItem
      extended byorg.apache.directory.shared.ldap.aci.UserFirstACIItem
All Implemented Interfaces:
java.io.Serializable

public class UserFirstACIItem
extends ACIItem

An ACIItem which specifies UserClasses first and then ProtectedItems each UserClass will have. (18.4.2.4. X.501)

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
UserFirstACIItem(java.lang.String identificationTag, int precedence, AuthenticationLevel authenticationLevel, java.util.Collection userClasses, java.util.Collection userPermissions)
          Creates a new instance.
 
Method Summary
 java.util.Collection getUserClasses()
          Returns the set of UserClasses.
 java.util.Collection getUserPermission()
          Returns the set of UserPermissions.
 java.lang.String toString()
           
 java.util.Collection toTuples()
          Converts this item into a collection of ACITuples and returns it.
 
Methods inherited from class org.apache.directory.shared.ldap.aci.ACIItem
getAuthenticationLevel, getIdentificationTag, getPrecedence, toMicroOperations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserFirstACIItem

public UserFirstACIItem(java.lang.String identificationTag,
                        int precedence,
                        AuthenticationLevel authenticationLevel,
                        java.util.Collection userClasses,
                        java.util.Collection userPermissions)
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
userClasses - the collection of UserClasses this item protects
userPermissions - the collection of UserPermissions each protectedItems will have
Method Detail

getUserClasses

public java.util.Collection getUserClasses()
Returns the set of UserClasses.


getUserPermission

public java.util.Collection getUserPermission()
Returns the set of UserPermissions.


toString

public java.lang.String toString()

toTuples

public java.util.Collection toTuples()
Description copied from class: ACIItem
Converts this item into a collection of ACITuples and returns it.

Specified by:
toTuples in class ACIItem


Copyright © 2003-2006 . All Rights Reserved.