Class ItemFirstACIItem
- java.lang.Object
-
- org.apache.directory.api.ldap.aci.ACIItem
-
- org.apache.directory.api.ldap.aci.ItemFirstACIItem
-
public class ItemFirstACIItem extends ACIItem
AnACIItemwhich specifiesProtectedItems first and thenUserClasses eachProtectedItemwill have. (18.4.2.4. X.501)- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description ItemFirstACIItem(String identificationTag, int precedence, AuthenticationLevel authenticationLevel, Collection<ProtectedItem> protectedItems, Collection<ItemPermission> itemPermissions)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<ItemPermission>getItemPermissions()Gets the collection ofItemPermissions.Collection<ProtectedItem>getProtectedItems()Gets the collection ofProtectedItems.StringtoString()Collection<ACITuple>toTuples()Transform this protected Item and permissions to a set of Tuples-
Methods inherited from class org.apache.directory.api.ldap.aci.ACIItem
getAuthenticationLevel, getIdentificationTag, getPrecedence, toMicroOperations
-
-
-
-
Constructor Detail
-
ItemFirstACIItem
public ItemFirstACIItem(String identificationTag, int precedence, AuthenticationLevel authenticationLevel, Collection<ProtectedItem> protectedItems, Collection<ItemPermission> itemPermissions)
Creates a new instance.- Parameters:
identificationTag- the id string of this itemprecedence- the precedence of this itemauthenticationLevel- the level of authentication required to this itemprotectedItems- the collection ofProtectedItems this item protectsitemPermissions- the collection ofItemPermissions each protectedItems will have
-
-
Method Detail
-
getProtectedItems
public Collection<ProtectedItem> getProtectedItems()
Gets the collection ofProtectedItems.- Returns:
- the collection of
ProtectedItems
-
getItemPermissions
public Collection<ItemPermission> getItemPermissions()
Gets the collection ofItemPermissions.- Returns:
- the collection of
ItemPermissions
-
toTuples
public Collection<ACITuple> toTuples()
Transform this protected Item and permissions to a set of Tuples
-
-