public interface ACLEntry
This interface represents an entry in the Access Control List.
Modifier and Type | Method and Description |
---|---|
boolean |
checkPermission(ACLPermission permission)
Checks if the specified permission is part of the this entry's permission.
|
Identity |
getIdentity()
Obtains the
Identity for which a permission has been assigned in this entry. |
String |
getIdentityOrRole()
Obtains the identity or role for which a permission has been assigned in this entry.
|
ACLPermission |
getPermission()
Obtains the
Permission object held by this entry. |
String getIdentityOrRole()
Obtains the identity or role for which a permission has been assigned in this entry.
String
representing the identity or role name.Identity getIdentity()
Obtains the Identity
for which a permission has been assigned in this entry.
Identity
contained in this entry.ACLPermission getPermission()
Obtains the Permission
object held by this entry.
Permission
contained in this entry.boolean checkPermission(ACLPermission permission)
Checks if the specified permission is part of the this entry's permission.
permission
- the ACLPermission
to be checked for.true
if the permission is part of this entry's permission; false
otherwise.Copyright © 2016 JBoss by Red Hat. All rights reserved.