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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
checkRight(java.lang.String permission)
Verifies if permission is granted.java.util.Enumeration<ACLEntry>
entries()
Returns a list of entries of the current ACL.java.lang.String
getDescription()
Returns the description of the current ACL.java.lang.String
getName()
Returns the name of the current ACL.java.util.Enumeration<java.lang.String>
rights()
Returns a list of access rights of the current ACL.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Returns the name of the current ACL.- Returns:
- the name of the current ACL.
-
getDescription
java.lang.String getDescription()
Returns the description of the current ACL.- Returns:
- the description of the current ACL.
-
rights
java.util.Enumeration<java.lang.String> rights()
Returns a list of access rights of the current ACL.- Returns:
- a list of access rights
-
entries
java.util.Enumeration<ACLEntry> entries()
Returns a list of entries of the current ACL.- Returns:
- a list of entries
-
checkRight
boolean checkRight(java.lang.String permission)
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.
-
-