public class UserFirstACIItem extends ACIItem
ACIItem
which specifies UserClass
es first and then
ProtectedItem
s each UserClass
will have. (18.4.2.4. X.501)Constructor and Description |
---|
UserFirstACIItem(String identificationTag,
int precedence,
AuthenticationLevel authenticationLevel,
Collection<UserClass> userClasses,
Collection<UserPermission> userPermissions)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Collection<UserClass> |
getUserClasses()
Gets the collection of
UserClass es. |
Collection<UserPermission> |
getUserPermission()
Gets the collection of
UserPermission s. |
String |
toString() |
Collection<ACITuple> |
toTuples()
Converts this item into a collection of
ACITuple s. |
getAuthenticationLevel, getIdentificationTag, getPrecedence
public UserFirstACIItem(String identificationTag, int precedence, AuthenticationLevel authenticationLevel, Collection<UserClass> userClasses, Collection<UserPermission> userPermissions)
identificationTag
- the id string of this itemprecedence
- the precedence of this itemauthenticationLevel
- the level of authentication required to this itemuserClasses
- the collection of UserClass
es this item protectsuserPermissions
- the collection of UserPermission
s each
protectedItems will havepublic Collection<UserClass> getUserClasses()
UserClass
es.UserClass
espublic Collection<UserPermission> getUserPermission()
UserPermission
s.UserPermission
sCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.