Class ItemFirstACIItem
- java.lang.Object
-
- org.apache.directory.api.ldap.aci.ACIItem
-
- org.apache.directory.api.ldap.aci.ItemFirstACIItem
-
public class ItemFirstACIItem extends ACIItem
AnACIItem
which specifiesProtectedItem
s first and thenUserClass
es eachProtectedItem
will 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 ofItemPermission
s.Collection<ProtectedItem>
getProtectedItems()
Gets the collection ofProtectedItem
s.String
toString()
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
-
-
-
-
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 ofProtectedItem
s this item protectsitemPermissions
- the collection ofItemPermission
s each protectedItems will have
-
-
Method Detail
-
getProtectedItems
public Collection<ProtectedItem> getProtectedItems()
Gets the collection ofProtectedItem
s.- Returns:
- the collection of
ProtectedItem
s
-
getItemPermissions
public Collection<ItemPermission> getItemPermissions()
Gets the collection ofItemPermission
s.- Returns:
- the collection of
ItemPermission
s
-
toTuples
public Collection<ACITuple> toTuples()
Transform this protected Item and permissions to a set of Tuples
-
-