public class ItemFirstACIItem extends ACIItem
ACIItem
which specifies ProtectedItem
s first and then
UserClass
es each ProtectedItem
will have. (18.4.2.4. X.501)Constructor and Description |
---|
ItemFirstACIItem(String identificationTag,
int precedence,
AuthenticationLevel authenticationLevel,
Collection<ProtectedItem> protectedItems,
Collection<ItemPermission> itemPermissions)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Collection<ItemPermission> |
getItemPermissions()
Gets the collection of
ItemPermission s. |
Collection<ProtectedItem> |
getProtectedItems()
Gets the collection of
ProtectedItem s. |
String |
toString() |
Collection<ACITuple> |
toTuples()
Transform this protected Item and permissions to a set of Tuples
|
getAuthenticationLevel, getIdentificationTag, getPrecedence
public ItemFirstACIItem(String identificationTag, int precedence, AuthenticationLevel authenticationLevel, Collection<ProtectedItem> protectedItems, Collection<ItemPermission> itemPermissions)
identificationTag
- the id string of this itemprecedence
- the precedence of this itemauthenticationLevel
- the level of authentication required to this itemprotectedItems
- the collection of ProtectedItem
s this item protectsitemPermissions
- the collection of ItemPermission
s each protectedItems will havepublic Collection<ProtectedItem> getProtectedItems()
ProtectedItem
s.ProtectedItem
spublic Collection<ItemPermission> getItemPermissions()
ItemPermission
s.ItemPermission
spublic Collection<ACITuple> toTuples()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.