public class UserPermission extends Permission
UserClass
es in
UserFirstACIItem
.Constructor and Description |
---|
UserPermission(Integer precedence,
Collection<GrantAndDenial> grantsAndDenials,
Collection<ProtectedItem> protectedItems)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
Collection<ProtectedItem> |
getProtectedItems()
Gets the collection of
ProtectedItem s. |
String |
toString() |
getDenials, getGrants, getGrantsAndDenials, getPrecedence
public UserPermission(Integer precedence, Collection<GrantAndDenial> grantsAndDenials, Collection<ProtectedItem> protectedItems)
precedence
- the precedence of this permission (-1 to use the
default)grantsAndDenials
- the set of GrantAndDenial
sprotectedItems
- the collection of ProtectedItem
spublic Collection<ProtectedItem> getProtectedItems()
ProtectedItem
s.ProtectedItem
sCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.