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

java.lang.Object
  extended by org.apache.directory.shared.ldap.aci.ACIItem
      extended by org.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: 664290 $, $Date: 2008-06-07 08:28:06 +0200 (Sat, 07 Jun 2008) $
Author:
Apache Directory Project
See Also:
Serialized Form

Constructor Summary
UserFirstACIItem(java.lang.String identificationTag, int precedence, AuthenticationLevel authenticationLevel, java.util.Collection<UserClass> userClasses, java.util.Collection<UserPermission> userPermissions)
          Creates a new instance.
 
Method Summary
 java.util.Collection<UserClass> getUserClasses()
          Returns the set of UserClasses.
 java.util.Collection<UserPermission> getUserPermission()
          Returns the set of UserPermissions.
 java.lang.String toString()
           
 java.util.Collection<ACITuple> 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<UserClass> userClasses,
                        java.util.Collection<UserPermission> 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<UserClass> getUserClasses()
Returns the set of UserClasses.


getUserPermission

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


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toTuples

public java.util.Collection<ACITuple> 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-2011 Apache Software Foundation. All Rights Reserved.