Build 1.0_r1

java.security.acl
Interface Acl

All Superinterfaces:
Owner

public interface Acl
extends Owner


Method Summary
 boolean addEntry(Principal principal, AclEntry aclentry)
           
 boolean checkPermission(Principal principal, Permission permission)
           
 Enumeration entries()
           
 String getName()
           
 Enumeration getPermissions(Principal principal)
           
 boolean removeEntry(Principal principal, AclEntry aclentry)
           
 void setName(Principal principal, String s)
           
 String toString()
          Returns a string containing a concise, human-readable description of the receiver.
 
Methods inherited from interface java.security.acl.Owner
addOwner, deleteOwner, isOwner
 

Method Detail

setName

void setName(Principal principal,
             String s)
             throws NotOwnerException
Throws:
NotOwnerException

getName

String getName()

addEntry

boolean addEntry(Principal principal,
                 AclEntry aclentry)
                 throws NotOwnerException
Throws:
NotOwnerException

removeEntry

boolean removeEntry(Principal principal,
                    AclEntry aclentry)
                    throws NotOwnerException
Throws:
NotOwnerException

getPermissions

Enumeration getPermissions(Principal principal)

entries

Enumeration entries()

checkPermission

boolean checkPermission(Principal principal,
                        Permission permission)

toString

String toString()
Returns a string containing a concise, human-readable description of the receiver.

Overrides:
toString in class Object
Returns:
String a printable representation for the receiver.

Build 1.0_r1

Please submit a feedback, bug or feature