Build 1.0_r1(from source)

java.security.acl
Interface Acl

All Superinterfaces:
Owner

public interface Acl
extends Owner


Method Summary
 boolean addEntry(Principal caller, AclEntry entry)
           
 boolean checkPermission(Principal principal, Permission permission)
           
 Enumeration<AclEntry> entries()
           
 String getName()
           
 Enumeration<Permission> getPermissions(Principal user)
           
 boolean removeEntry(Principal caller, AclEntry entry)
           
 void setName(Principal caller, String name)
           
 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 caller,
             String name)
             throws NotOwnerException
Throws:
NotOwnerException

getName

String getName()

addEntry

boolean addEntry(Principal caller,
                 AclEntry entry)
                 throws NotOwnerException
Throws:
NotOwnerException

removeEntry

boolean removeEntry(Principal caller,
                    AclEntry entry)
                    throws NotOwnerException
Throws:
NotOwnerException

getPermissions

Enumeration<Permission> getPermissions(Principal user)

entries

Enumeration<AclEntry> entries()

checkPermission

boolean checkPermission(Principal principal,
                        Permission permission)

toString

String toString()
Description copied from class: Object
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(from source)

Please submit a feedback, bug or feature