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: 1211 $, $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $

Method Summary
 boolean checkRight(java.lang.String permission)
          Verifies if permission is granted.
 java.util.Enumeration 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 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 rights()
Returns a list of access rights of the current ACL.

Returns:
a list of access rights

entries

java.util.Enumeration 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.