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

java.lang.Object
  extended by org.apache.directory.api.ldap.aci.ACIItem
      extended by org.apache.directory.api.ldap.aci.UserFirstACIItem

public class UserFirstACIItem
extends ACIItem

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

Author:
Apache Directory Project

Constructor Summary
UserFirstACIItem(String identificationTag, int precedence, org.apache.directory.api.ldap.model.constants.AuthenticationLevel authenticationLevel, Collection<UserClass> userClasses, Collection<UserPermission> userPermissions)
          Creates a new instance.
 
Method Summary
 Collection<UserClass> getUserClasses()
          Gets the collection of UserClasses.
 Collection<UserPermission> getUserPermission()
          Gets the collection of UserPermissions.
 String toString()
          
 Collection<ACITuple> toTuples()
          Converts this item into a collection of ACITuples.
 
Methods inherited from class org.apache.directory.api.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(String identificationTag,
                        int precedence,
                        org.apache.directory.api.ldap.model.constants.AuthenticationLevel authenticationLevel,
                        Collection<UserClass> userClasses,
                        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 Collection<UserClass> getUserClasses()
Gets the collection of UserClasses.

Returns:
the collection of UserClasses

getUserPermission

public Collection<UserPermission> getUserPermission()
Gets the collection of UserPermissions.

Returns:
the collection of UserPermissions

toString

public String toString()

Overrides:
toString in class ACIItem

toTuples

public Collection<ACITuple> toTuples()
Converts this item into a collection of ACITuples.

Specified by:
toTuples in class ACIItem
Returns:
the converted collection of ACITuple


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.