Package com.netscape.certsrv.acls
Interface IACL
- All Known Implementing Classes:
ACL
public interface IACL
A class represents an access control list (ACL). An ACL
is associated with a protected resource. The policy
enforcer can verify the ACLs with the current
context to see if the corresponding resource is accessible.
- Version:
- $Revision$, $Date$
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkRight
(String permission) Verifies if permission is granted.entries()
Returns a list of entries of the current ACL.Returns the description of the current ACL.getName()
Returns the name of the current ACL.rights()
Returns a list of access rights of the current ACL.
-
Method Details
-
getName
String getName()Returns the name of the current ACL.- Returns:
- the name of the current ACL.
-
getDescription
String getDescription()Returns the description of the current ACL.- Returns:
- the description of the current ACL.
-
rights
Enumeration<String> rights()Returns a list of access rights of the current ACL.- Returns:
- a list of access rights
-
entries
Enumeration<ACLEntry> entries()Returns a list of entries of the current ACL.- Returns:
- a list of entries
-
checkRight
Verifies if permission is granted.- Parameters:
permission
- one of the applicable rights- Returns:
- true if the given permission is one of the applicable rights; false otherwise.
-