Package org.jboss.security.acl
Interface ACLEntry
-
- All Known Implementing Classes:
ACLEntryImpl
public interface ACLEntryThis interface represents an entry in the Access Control List.
- Author:
- Stefan Guilhen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancheckPermission(ACLPermission permission)Checks if the specified permission is part of the this entry's permission.IdentitygetIdentity()Obtains theIdentityfor which a permission has been assigned in this entry.StringgetIdentityOrRole()Obtains the identity or role for which a permission has been assigned in this entry.ACLPermissiongetPermission()Obtains thePermissionobject held by this entry.
-
-
-
Method Detail
-
getIdentityOrRole
String getIdentityOrRole()
Obtains the identity or role for which a permission has been assigned in this entry.
- Returns:
- a
Stringrepresenting the identity or role name.
-
getIdentity
Identity getIdentity()
Obtains the
Identityfor which a permission has been assigned in this entry.- Returns:
- a reference to the
Identitycontained in this entry.
-
getPermission
ACLPermission getPermission()
Obtains the
Permissionobject held by this entry.- Returns:
- a reference to the
Permissioncontained in this entry.
-
checkPermission
boolean checkPermission(ACLPermission permission)
Checks if the specified permission is part of the this entry's permission.
- Parameters:
permission- theACLPermissionto be checked for.- Returns:
trueif the permission is part of this entry's permission;falseotherwise.
-
-